﻿(function () {
    var h = void 0,
        i = !0,
        l = null,
        B = !1,
        Fa = l,
        I = setTimeout,
        Ya = decodeURIComponent,
        cb = String.fromCharCode,
        db;

    function wa() {
        return function () {}
    }

    function dc() {
        function ka(e) {
            return 'remote/html_server.php?xw_controller=fight&xw_action=attack_pop&view_style=html&opponent_id=p|' + e + '&origin=fight_page&clkdiv=btn_attack_p' + e + '&tab=0&use_boost=0'
        }

        function Y(e, b, a, d) {
            var c = "";
            0 < d ? (a && (z && z.Mh && !z.Mh[d]) && z.Gl(d, a), c += La(d, a ? a : "?") + " ") : a && (c += a + " ");
            b ? c += '<a href="remote/html_server.php?xw_controller=stats&xw_action=view&user=' + b + '&ref=fight_list" class="mw_new_ajax" selector="#inner_page"><span style="display:inline;">' + (e ? e : b) + '</span></a>' : e && (c += e);
            return c
        }

        function La(e, b, a) {
            return '<a href="remote/html_server.php?xw_controller=clan&xw_action=view&from_red_link=1&id=' + ub(e.toString()) + '" class="mw_new_ajax" selector="#inner_page">' + (b ? '<span style="color:red;display:inline-block;white-space:nowrap;">' + b + '</span>' + (a ? " " : "") : "") + (a ? '<span style="display:inline-block;white-space:nowrap;">' + a + '</span>' : "") + '</a>'
        }

        function R(e, b, a, d) {
            return '<div style="padding:10px;"><div class="module_subtitle"><span id="' + b + 'e0%ID%" class="tab_subtitle">' + e + '</span></div><div id="' + b + '%ID%">' + (a ? a : "") + '</div></div><div class="' + (d ? d : 'module_seperator') + '"/>'
        }

        function O(e, b, a) {
            return '<fieldset id="' + b + '%ID%"><legend>' + e + '</legend>' + a + '</fieldset>'
        }

        function la(e, b) {
            return '<div id="' + e + '%ID%">' + b + '</div>'
        }

        function ma(e, b, a, d) {
            return a ? '<abbr title="' + a + '">' + ('<input type="checkbox" id="' + b + '%ID%"/> <span id="' + b + 'e1%ID%"><label for="' + b + '%ID%" id="e2' + b + '%ID%">' + e + '</label>' + (d ? d : "") + '</span>') + '</abbr>' : '<input type="checkbox" id="' + b + '%ID%"/> <span id="' + b + 'e1%ID%"><label for="' + b + '%ID%" id="e2' + b + '%ID%">' + e + '</label>' + (d ? d : "") + '</span>'
        }

        function o(e, b, a, d) {
            return ma(e, b, a, d) + '<br/>'
        }

        function za(e, b) {
            b ? ($("#" + e).removeAttr('disabled'), $("#" + e).removeClass('opacity_50'), $("#e2" + e).removeClass('opacity_50')) : ($("#" + e).attr('disabled', 'true'), $("#" + e).addClass('opacity_50'), $("#e2" + e).addClass('opacity_50'))
        }

        function s(e, b) {
            b ? $("#" + e).removeClass('opacity_50') : $("#" + e).addClass('opacity_50')
        }

        function nb(e) {
            var b = "",
                a;
            for (a in e) e.hasOwnProperty(a) && (b += '<option value="' + a + '">' + e[a] + '</option>');
            return b
        }

        function xa(e, b) {
            return '<select id="' + e + '%ID%">' + nb(b) + '</select>'
        }

        function Hb(e, b) {
            return '<div id="pop_' + e + '%ID%" class="c0"><div class="challenge_pop"><div id="pop_bg_' + e + '%ID%" class="pop_bg"/><div id="pop_box_' + e + '%ID%" class="pop_box" style="top:400px;background-image:none;"><a href="#" id="' + e + 'e3%ID%" class="pop_close"/>' + b + '</div></div></div>'
        }

        function fb(e, b) {
            $("#" + e).height('auto');
            $("#" + b).height('auto');
            var a = Math.max($("#" + e).height(), $("#" + b).height());
            a && ($("#" + e).height(a), $("#" + b).height(a))
        }

        function ub(e) {
            var b;
            try {
                b = Za(btoa(e))
            } catch (a) {
                b = ""
            }
            return b
        }

        function Ga(e) {
            var b;
            try {
                b = atob(Ya(e))
            } catch (a) {
                b = ""
            }
            return b
        }

        function Za(e) {
            return e === l || e === h ? "" : encodeURIComponent(e.toString())
        }

        function va(e) {
            if (3600 <= e) {
                var b = Math.floor(e / 60) % 60,
                    e = Math.floor(e / 3600);
                return e + ' hour' + (1 == e ? "" : "s") + (b ? " " + b + ' minute' + (1 == b ? "" : "s") : "")
            }
            return 60 <= e ? (e = Math.floor(e / 60), e + ' minute' + (1 == e ? "" : "s")) : e + ' second' + (1 == e ? "" : "s")
        }

        function gb(e) {
            var b, a;
            b = "";
            3600 <= e && (a = Math.floor(e / 3600), 10 > a && (b += "0"), b += a + ":");
            a = Math.floor(e / 60) % 60;
            10 > a && (b += "0");
            b += a + ":";
            a = e % 60;
            10 > a && (b += "0");
            return b + a
        }

        function x(e, b) {
            return '<span class="good">' + e + '</span>' + (b ? " " + b : "")
        }

        function r(e, b) {
            return '<span class="bad">' + e + '</span>' + (b ? " " + b : "")
        }

        function qa(e) {
            return '<span class="more_in">' + e + '</span>'
        }

        function Aa(e) {
            return '<span class="c2 more_in">' + e + '</span>'
        }

        function Ma(e) {
            return 0 < e ? '<span class="good c2 more_in">[+' + m(e) + ']</span>' : 0 > e ? '<span class="bad c2 more_in">[' + m(e) + ']</span>' : '<span class="c2 more_in">[0]</span>'
        }

        function Q(e, b, a, d) {
            return '<a href="#0" ' + (d ? 'id="' + d + '%ID%" ' : "") + (a ? 'data-id="' + a + '" ' : "") + 'class="' + (b ? b : "") + ' sexy_button_new shorter black narrow_sexy_button"><span><span>' + e + '</span></span></a>'
        }

        function Ha(e, b, a) {
            return '<span class="tab_button"><a ' + (a ? 'data-id="' + a + '" ' : "") + 'class="' + (b ? b : "") + ' sexy_button_new short"><span><span>' + e + '</span></span></a></span>'
        }

        function hb(e) {
            return e % 5 ? 'Bonus' : 'Milestone'
        }

        function Ib(e) {
            var b, a = e.toLowerCase(),
                d = "";
            for (b = 0; b < a.length; b++) d = 0 === b || " " === e[b - 1] ? d + e[b] : d + a[b];
            return d
        }

        function ob(e) {
            var b;
            if (e === l || "" === e) return [];
            b = $.trim(e).split("\n");
            for (e = 0; e < b.length; e++) b[e] = $.trim(b[e].replace(/[\r\n]/g, ""));
            return b
        }

        function Jb(e, b) {
            if (b && b.length) {
                var a = Ea(e);
                if (e && e.length) for (var d = 0; d < b.length; d++) if (b[d].length && -1 !== a.indexOf(b[d])) return i
            }
            return B
        }

        function pb() {
            var e;
            this.l = q(User.id.substring(2));
            this.ma = q(User.trackId);
            this.Rb = this.nc = this.mc = this.Ec = this.ib = this.D = this.aj = this.Ri = this.Si = this.Dk = this.Rm = this.Xd = this.Ga = this.Sm = this.Da = this.Wg = this.Hh = this.Ra = this.w = this.jd = this.h = this.Gb = this.I = 0;
            this.F = "";
            this.pr = 0;
            this.e = [];
            for (e = 1; 10 > e; e++) this.e[e] = {
                    e: 0,
                    Md: 0
            };
            this.N = this.ya = 0
        }

        function q(e) {
            e = parseInt(e, 10);
            return isNaN(e) ? 0 : e
        }

        function vb(e) {
            e = parseFloat(e);
            return isNaN(e) ? 0 : e
        }

        function Ea(e) {
            return e.replace(/<\/?[^>]+(>|$)/g, "")
        }

        function k(e) {
            return $('string' === typeof e ? "#" + e : e).prop('checked') ? i : B
        }

        function p(e, b) {
            $('string' === typeof e ? "#" + e : e).prop('checked', b)
        }

        function t(e, b) {
            $('string' === typeof e ? "#" + e : e).val(b)
        }

        function f(e, b) {
            $(e).click(b)
        }

        function u(e, b) {
            $(e).change(b)
        }

        function w(e, b, a) {
            b = Math.max(q($(e).val()), b ? b : 0);
            a && (b = Math.min(b, a));
            t(e, b);
            return b
        }

        function wb(e) {
            var b = Math.max(vb($(e).val()), 0);
            t(e, b);
            return b
        }

        function Ba(e) {
            return "" + $(e).val()
        }

        function J(e) {
            return JSON.parse(e)
        }

        function n(e) {
            Ia.log(e)
        }

        function C(e) {
            Ia.error(e)
        }

        function ra(e) {
            Ia.debug(e)
        }

        function ec() {
            Ca.al()
        }

        function ib(e, b) {
            var a, d, c;
            if (e) {
                a = e.sl;
                for (d in Ja) Ja.hasOwnProperty(d) && (c = Ja[d], (a & 1) === (c.sl & 1) && (c === e ? !c.Y || b ? ($("#e9" + c.B).attr('class', 'tab tab_active_op'), $("#" + c.B).show(), c.Y = i, c.update && c.update()) : ($("#" + c.B).hide(), $("#e9" + c.B).attr('class', 'tab tab_inactive_op'), c.Y = B) : ($("#" + c.B).hide(), $("#e9" + c.B).attr('class', 'tab tab_inactive_op'), c.Y = B)));
                L.ra()
            }
            return B
        }

        function Kb() {
            if (Z()) for (var e in Ja) Ja.hasOwnProperty(e) && Ja[e].Y && Ja[e].update && Ja[e].update()
        }

        function Na(e, b, a) {
            if (e.Ca !== b || e.ql !== a) {
                var d = b;
                a && (d += ' <span style="vertical-align:1px;font-size:12px;">(' + m(a) + ')</span>');
                e.Ca = b;
                e.ql = a;
                Oa(e.rl) && e.rl.html(d)
            }
        }

        function ga(e) {
            e = $("#" + e);
            if (e.is(':visible')) return e.hide(), L.ra(), B;
            e.show();
            L.ra();
            return i
        }

        function aa() {
            return Math.floor((new Date).getTime() / 1E3)
        }

        function m(e) {
            return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")
        }

        function X(e) {
            return e && Infinity !== e ? q(e.toString().replace(/[^\d\.]/g, "")) : 0
        }

        function F(e, b) {
            return 'undefined' !== typeof b ? $.extend(i, e, b) : e
        }

        function qb(e) {
            return e ? $('<textarea/>').html(e).val() : ""
        }

        function Oa(e) {
            return 0 !== $(e).length
        }

        function xb(e) {
            this.type = 'POST';
            this.data = this.url = l;
            this.dataType = 'text';
            this.beforeSend = l;
            this.cache = B;
            this.dataFilter = this.complete = l;
            this.global = B;
            this.timeout = 15E3;
            this.oi = this.Lh = h;
            this.Yg = 0;
            this.hb = B;
            this.queue = e
        }

        function $a(e) {
            this.He = [];
            this.hb = 0;
            this.nk = e;
            this.Jk = 0;
            this.jk = B;
            this.ek = 0
        }

        function D(e, b) {
            for (var a = "?" + e + '&xw_city=' + (b ? b : j.Da) + '&cb=', d = "", c = 0; 32 > c; c++) d += Math.floor(16 * Math.random()).toString(16);
            a = a + d + '&js=1&isajax=1&no_load=1&xw_person=' + j.l + '&xw_client_id=8';
            (d = Ya(a)) || n(r('Build URL Failure', a));
            return d
        }

        function yb() {
            jb.sf_xw_sig !== local_xw_sig && (jb.sf_xw_sig = local_xw_sig, jb.sf_xw_user_id = "p|" + j.l, ra(x('Updated Signature', local_xw_sig)));
            jb.clicks++;
            return jb
        }

        function ab(e, b, a) {
            try {
                var d, c;
                d = 'string' === typeof b ? e.indexOf(b) : e.search(b);
                if (-1 === d) return C(r('Find Data', 'Unable to find start pattern')), l;
                e = e.slice(d);
                if (a) {
                    c = 'string' === typeof a ? e.indexOf(a) : e.search(a);
                    if (-1 === c) return C(r('Find Data', 'Unable to find end pattern')), l;
                    e = e.slice(0, c)
                }
                return e
            } catch (g) {
                return C(r('Find Data', g)), l
            }
        }

        function zb(e) {
            var b = /\?next_params=(.+)/.exec(e);
            b && (e = Ga(b[1]));
            e = e.replace(/&amp;/g, "&");
            e = e.replace(/&quot;/g, '"');
            e = e.replace(/\+/g, " ");
            e = e.replace(/%22/g, '"');
            e = e.replace(/%2C/g, ",");
            e = e.replace(/%3A/g, ":");
            e = e.replace(/%7B/g, "{");
            e = e.replace(/%7C/g, "|");
            return e = e.replace(/%7D/g, "}")
        }

        function Lb() {}

        function ya() {
            this.pb = {};
            this.uh = {};
            this.jg = ['user_groups', 'read_stream', 'publish_stream', 'publish_actions']
        }

        function sa() {
            this.cb()
        }

        function ja() {
            this.clear()
        }

        function G() {}

        function Ra(e) {
            this.Sr = e;
            this.g = l;
            this.z = 0;
            this.A = B
        }

        function Mb(e, b) {
            var a = this,
                d = Mb.prototype;
            K = a;
            F(d, G.prototype);
            a.cb(e, b);
            a.clip = l;
            a.q = [];
            a.q[0] = new Ra(0);
            a.q[6] = new Ra(6);
            a.q[1] = new Ra(1);
            a.q[2] = new Ra(2);
            a.q[3] = new Ra(3);
            a.q[4] = new Ra(4);
            a.q[5] = new Ra(5);
            d.Bh = function (a, g) {
                Oa(a) && ($(a).remove(), Oa(g) && $(g).css({
                    filter: "100",
                    opacity: "100"
                }))
            }
            d.Ch = function (a) {
                Oa(a) && $(a).hide().html("").remove()
            }
            d.vl = function () {
                try {
                    a.b.be ? (a.Ch('#mw_like_button'), a.Ch('#cpa_fights_banner'), a.Ch('#cpa_jobs_banner'), a.Ch('#clanChat'), $('#snapi_zbar') && $('#snapi_zbar').parent("div").hide(), $('#zbar') && $('#zbar').parent("div").hide(), $('iframe[name=mafiawars_zbar]') && $('iframe[name=mafiawars_zbar]').parent("div").hide(), $('div[class=footer_text]').hide(), $('div[class=level_stat]').css('min-width', '60px'), $('#final_wrapper > div').filter(function () {
                        return -1 !== $(this).text().indexOf('All rights reserved')
                    }).each(function () {
                        $(this).hide()
                    })) : ($('#snapi_zbar') && $('#snapi_zbar').parent("div").show(), $('#zbar') && $('#zbar').parent("div").show(), $('iframe[name=mafiawars_zbar]') && $('iframe[name=mafiawars_zbar]').parent("div").show(), $('div[class=footer_text]').show(), $('#final_wrapper > div').filter(function () {
                        return -1 !== $(this).text().indexOf('All rights reserved')
                    }).each(function () {
                        $(this).show()
                    }))
                } catch (c) {}
            }
            d.ul = function () {
                a.b.ae && (a.Bh('#subscription_icon_container', '#subscription_icon_cover'), a.Bh('#buyframe_link_container_anim', '#buyframe_link_cover_anim'), a.Bh('#arena_icon_container', '#arena_icon_cover'), a.Bh('#free_gift_swf_icon_container', '#free_gift_swf_icon_cover'), $('#arena_icon_cover > a > div').html('<img src="' + Da + '/img/arena_icon.png"/>'))
            }
            d.nd = function (c, g) {
                a.q[g].A = k(c);
                a.p();
                a.j();
                return i
            }
            d.rd = function (c, g) {
                a.q[g].z = w(c);
                a.p();
                a.j();
                return i
            }
            d.po = function (c) {
                a.b.A = w(c);
                0 === a.b.A ? (a.q[1].z = 9, a.q[2].z = 2, a.q[0].z = 1, a.q[3].z = 0) : (a.q[1].z = 9, a.q[3].z = 2, a.q[2].z = 1, a.q[0].z = 0);
                a.j();
                return i
            }
            d.p = function () {
                s('e19e1' + b, a.b.be);
                s('e20e1' + b, a.b.ae);
                s('e21e1' + b, a.b.kg);
                s('e22e1' + b, a.b.Ne);
                s('e23e1' + b, a.q[0].A);
                s('e24e1' + b, a.q[6].A);
                s('e25e1' + b, a.q[1].A);
                s('e26e1' + b, a.q[2].A);
                s('e27e1' + b, a.q[4].A);
                s('e28e1' + b, a.q[3].A);
                s('e29e1' + b, a.q[5].A)
            }
            d.Zo = function (c) {
                a.b.be = k(c);
                a.p();
                a.vl();
                a.j();
                return i
            }
            d.Yo = function (c) {
                a.b.ae = k(c);
                a.p();
                a.ul();
                a.j();
                return i
            }
            d.fq = function (c) {
                a.b.kg = k(c);
                a.p();
                a.j();
                return i
            }
            d.gq = function (c) {
                a.b.Ne = k(c);
                a.p();
                a.j();
                return i
            }
            d.ia = function () {
                a.b = {
                    be: B,
                    ae: B,
                    kg: B,
                    Ne: B,
                    Nh: 8
                };
                a.q[0].A = B;
                a.q[0].z = 1;
                a.q[6].A = B;
                a.q[6].z = 0;
                a.q[1].A = B;
                a.q[1].z = 9;
                a.q[2].A = B;
                a.q[2].z = 2;
                a.q[4].A = B;
                a.q[4].z = 0;
                a.q[3].A = B;
                a.q[3].z = 0;
                a.q[5].A = B;
                a.q[5].z = 0;
                a.b.A = 0
            }
            d.j = function () {
                var c = {};
                c.thread_count = a.b.Nh;
                c.hide_rewardville = a.b.be;
                c.hide_icons = a.b.ae;
                c.run_arena = a.b.kg;
                c.run_min = a.b.Ne;
                c.autorun_fight = a.q[0].A;
                c.priority_fight = a.q[0].z;
                c.autorun_upgrades = a.q[6].A;
                c.priority_upgrades = a.q[6].z;
                c.autorun_bank = a.q[1].A;
                c.priority_bank = a.q[1].z;
                c.autorun_rob = a.q[2].A;
                c.priority_rob = a.q[2].z;
                c.autorun_boss = a.q[4].A;
                c.priority_boss = a.q[4].z;
                c.autorun_jobs = a.q[3].A;
                c.priority_jobs = a.q[3].z;
                c.autorun_arena = a.q[5].A;
                c.priority_arena = a.q[5].z;
                c.autorun = a.b.A;
                ta(b, c)
            }
            d.S = function () {
                a.ia();
                try {
                    var c = {}, g = ua(b);
                    g && (c.Nh = g.thread_count, c.be = g.hide_rewardville, c.ae = g.hide_icons, c.kg = g.run_arena, c.Ne = g.run_min, a.q[0].A = g.autorun_fight, a.q[0].z = g.priority_fight, a.q[6].A = g.autorun_upgrades, a.q[6].z = g.priority_upgrades, a.q[1].A = g.autorun_bank, a.q[1].z = g.priority_bank, a.q[2].A = g.autorun_rob, a.q[2].z = g.priority_rob, a.q[4].A = g.autorun_boss, a.q[4].z = g.priority_boss, a.q[3].A = g.autorun_jobs, a.q[3].z = g.priority_jobs, a.q[5].A = g.autorun_arena, a.q[5].z = g.priority_arena, c.A = g.autorun, 0 === c.A ? (a.q[1].z = 9, a.q[2].z = 2, a.q[0].z = 1, a.q[3].z = 0) : (a.q[1].z = 9, a.q[3].z = 2, a.q[2].z = 1, a.q[0].z = 0));
                    F(a.b, c)
                } catch (v) {}
                a.b.Nh = 8;
                p("e19" + b, a.b.be);
                p("e20" + b, a.b.ae);
                p("e21" + b, a.b.kg);
                p("e22" + b, a.b.Ne);
                p("e23" + b, a.q[0].A);
                t("e32" + b, a.q[0].z);
                p("e24" + b, a.q[6].A);
                t("e33" + b, a.q[6].z);
                p("e25" + b, a.q[1].A);
                t("e34" + b, a.q[1].z);
                p("e26" + b, a.q[2].A);
                t("e35" + b, a.q[2].z);
                p("e27" + b, a.q[4].A);
                t("e36" + b, a.q[4].z);
                p("e28" + b, a.q[3].A);
                t("e37" + b, a.q[3].z);
                p("e29" + b, a.q[5].A);
                t("e38" + b, a.q[5].z);
                t("e39" + b, a.b.A);
                a.p()
            }
            d.xm = function () {
                Ab = i;
                P = {
                    name: Bb + ' Backup',
                    version: rb,
                    time: aa(),
                    data: {}
                };
                k("e42" + b) && K.j();
                k("e43" + b) && na.j();
                k("e44" + b) && Ca.j();
                k("e45" + b) && z.j();
                k("e46" + b) && L.j();
                k("e47" + b) && oa.j();
                k("e48" + b) && Sa.j();
                k("e49" + b) && ba.j();
                k("e50" + b) && S.j();
                k("e51" + b) && ca.j();
                k("e52" + b) && z.ug();
                Ab = B;
                var c = 0,
                    g;
                for (g in P.data) P.data.hasOwnProperty(g) && c++;
                if (c) {
                    c = JSON.stringify(P);
                    try {
                        c = btoa(sb.Dj(c))
                    } catch (v) {
                        n(v), c = ""
                    }
                    for (g = []; c;) if (70 > c.length) {
                            g.push(c);
                            break
                        } else g.push(c.substr(0, 70)), c = c.substr(70);
                    $('#e53' + b).val(g.join("\n"))
                } else $('#e53' + b).val("");
                a.clip || (ZeroClipboard.setMoviePath(kb + '/js/lib/ZeroClipboard.swf'), a.clip = new ZeroClipboard.Client, a.clip.glue("e54" + b), a.clip.addEventListener('onComplete', function () {
                    $('#e55' + b).html('Copied')
                }));
                $('#e55' + b).html('Copy');
                a.clip && (a.clip.setText($('#e53' + b).val()), a.clip.hide(), a.clip.show());
                P = l
            }
            d.fm = function () {
                var a = $('#e56' + b).val(),
                    a = $.trim(a.replace(/[\r\n]/g, ""));
                try {
                    P = J(sb.wj(atob(a)))
                } catch (g) {
                    P = l
                }
                a = P && P.data;
                za("e57" + b, a && P.data.demon_options);
                p("e57" + b, B);
                za("e58" + b, a && P.data.demon_fight);
                p("e58" + b, B);
                za("e59" + b, a && P.data.demon_upgrade);
                p("e59" + b, B);
                za("e60" + b, a && P.data.demon_opponents);
                p("e60" + b, B);
                za("e61" + b, a && P.data.demon_ices);
                p("e61" + b, B);
                za("e62" + b, a && P.data.demon_rob);
                p("e62" + b, B);
                za("e63" + b, a && P.data.demon_boss);
                p("e63" + b, B);
                za("e64" + b, a && P.data.demon_job);
                p("e64" + b, B);
                za("e65" + b, a && P.data.demon_arena);
                p("e65" + b, B);
                za("e66" + b, a && P.data.demon_bank);
                p("e66" + b, B);
                za("e67" + b, a && P.data.demon_favorites);
                p("e67" + b, B);
                P = l
            }
            d.Bm = function () {
                Cb = i;
                var a = $('#e56' + b).val(),
                    a = $.trim(a.replace(/[\r\n]/g, ""));
                try {
                    P = J(sb.wj(atob(a)))
                } catch (g) {
                    P = l
                }
                k("e57" + b) && K.S();
                k("e58" + b) && na.S();
                k("e59" + b) && Ca.S();
                k("e60" + b) && z.S();
                k("e61" + b) && L.S();
                k("e62" + b) && oa.S();
                k("e63" + b) && Sa.S();
                k("e64" + b) && ba.S();
                k("e65" + b) && S.S();
                k("e66" + b) && ca.S();
                k("e67" + b) && z.Mk();
                Cb = B;
                P = l;
                k("e57" + b) && K.j();
                k("e58" + b) && na.j();
                k("e59" + b) && Ca.j();
                k("e60" + b) && z.j();
                k("e61" + b) && L.j();
                k("e62" + b) && oa.j();
                k("e63" + b) && Sa.j();
                k("e64" + b) && ba.j();
                k("e65" + b) && S.j();
                k("e66" + b) && ca.j();
                k("e67" + b) && z.ug()
            }
            d.Hi = function () {
                MW.Popup.hide("e68" + b);
                lb = B;
                a.clip && (a.clip.hide(), a.clip.setText(""));
                $('#e56' + b).val("");
                $('#e53' + b).val("");
                L.ra();
                return B
            }
            d.U = function () {
                fb("e69" + b, "e70" + b)
            }
            d.Z = function () {
                var c = Hb("e68", '<div id="e74%ID%" style="width:620px;padding:15px;display:none;"><h2 style="text-align:center;color:#ff8;">Settings Manager</h2><br/><br/><div style="text-align:center;"><span class="tab_button"><a class="sexy_button_new short green" id="e75%ID%"><span><span>Backup Settings</span></span></a></span><span style="display:inline-block;width:60px;"/><span class="tab_button"><a class="sexy_button_new short green" id="e76%ID%"><span><span>Restore Settings</span></span></a></span></div></div><div id="e77%ID%" style="width:620px;padding:15px;display:none;"><h2 style="text-align:center;color:#ff8;">Restore Settings</h2><br/><div style="text-align:center;">Paste the data below, and click continue…<div class="demon"><textarea id="e56%ID%" style="width:614px;height:195px;min-height:32px;resize:vertical;"/></div><br/><span class="tab_button"><a class="sexy_button_new short green" id="e78%ID%"><span><span>Continue</span></span></a></span></div></div><div id="e79%ID%" style="width:620px;padding:15px;display:none;"><h2 style="text-align:center;color:#ff8;">Restore Settings</h2><br/><div style="text-align:center;padding:0px 50px 0px 50px;"><div style="text-align:left;float:left;width:50%;">' + o('Restore <i>Options</i> Settings', "e57") + o('Restore <i>Robbing</i> Settings', "e62") + o('Restore <i>Fighting</i> Settings', "e58") + o('Restore <i>Bosses</i> Settings', "e63") + o('Restore <i>Jobs</i> Settings', "e64") + o('Restore <i>Upgrades</i> Settings', "e59") + o('Restore <i>Arena</i> Settings', "e65") + o('Restore <i>Bank</i> Settings', "e66") + '</div><div style="text-align:left;float:left;width:50%;">' + o('Restore Ignore List', "e60") + o('Restore Favorites List', "e67") + o('Restore Ices/Thieves/Bounties', "e61") + '</div><div style="clear:both;"/><br/><span class="tab_button"><a class="sexy_button_new short green" id="e80%ID%"><span><span>Restore</span></span></a></span></div></div><div id="e81%ID%" style="width:620px;padding:15px;display:none;"><h2 style="text-align:center;color:#ff8;">Backup Settings</h2><br/><div style="text-align:center;padding:0px 50px 0px 50px;"><div style="text-align:left;float:left;width:50%;">' + o('Backup <i>Options</i> Settings', "e42") + o('Backup <i>Robbing</i> Settings', "e47") + o('Backup <i>Fighting</i> Settings', "e43") + o('Backup <i>Bosses</i> Settings', "e48") + o('Backup <i>Jobs</i> Settings', "e49") + o('Backup <i>Upgrades</i> Settings', "e44") + o('Backup <i>Arena</i> Settings', "e50") + o('Backup <i>Bank</i> Settings', "e51") + '</div><div style="text-align:left;float:left;width:50%;">' + o('Backup Ignore List', "e45") + o('Backup Favorites List', "e52") + o('Backup Ices/Thieves/Bounties', "e46") + '</div><div style="clear:both;"/><br/><span class="tab_button"><a class="sexy_button_new short green" id="e82%ID%"><span><span>Backup</span></span></a></span></div></div><div id="e83%ID%" style="width:620px;padding:15px;display:none;"><h2 style="text-align:center;color:#ff8;">Backup Settings</h2><br/><div style="text-align:center;">Copy the data below, and save it somewhere…<div class="demon"><textarea id="e53%ID%" style="width:614px;height:195px;min-height:32px;resize:vertical;"/></div><br/><span class="tab_button"><a class="sexy_button_new short green" id="e54%ID%"><span><span id="e55%ID%">Copy</span></span></a></span><span style="display:inline-block;width:60px;"/><span class="tab_button"><a class="sexy_button_new short green" id="e84%ID%"><span><span>Done</span></span></a></span></div></div>');
                pa(a, '<div style="padding:10px;"><div style="width:50%;float:left;">' + O('Options', "e71", la("e69", o('Hide Zynga Bar', "e19", 'Removes a few elements from the top/botton of the page.') + o('Hide Flash Icons', "e20", 'Removes the four flash icons to improve game performance.') + o('Load in Arena', "e21", 'Allows the script to load within the arena.') + o('Start Minimized', "e22", 'Starts the script minimized to the mission bar.') + '<br/>' + Q('Settings Manager', l, l, "e72") + '<br/><br/><b>Facebook Status</b>' + N + '<span id="e17%ID%"/>' + N + Q('Ask Permission', l, l, "e16"))) + '</div><div style="width:50%;float:left;">' + O('Autorun', "e73", la("e70", '<table style="border-collapse:collapse;"><tbody>' + ('<tr><td>Robbing</td><td>' + ma('Start when script is loaded', "e26") + '</td></tr>') + '<tr><td>Fighting</td><td>' + ma('Start when script is loaded', "e23") + '</td></tr>' + ('<tr><td>Bosses</td><td>' + ma('Start when script is loaded', "e27") + '</td></tr>') + ('<tr><td>Jobs</td><td>' + ma('Start when script is loaded', "e28") + '</td></tr>') + ('<tr><td>Bank</td><td>' + ma('Start when script is loaded', "e25") + '</td></tr>') + ('<tr><td>Arena</td><td>' + ma('Start when script is loaded', "e29") + '</td></tr>') + '<tr><td>Upgrades</td><td>' + ma('Start when script is loaded', "e24") + '</td></tr></tbody></table>' + (N + N + xa("e39", ['Fighting/Jobs', 'Jobs/Fighting']) + ' Priority (Beta)<br/>'))) + '</div><div style="clear:both;"/></div>', 1, function () {
                    a.U()
                });
                Db(a, c);
                f('#e23' + b, function () {
                    return a.nd(this, 0)
                });
                f('#e32' + b, function () {
                    return a.rd(this, 0)
                });
                f('#e24' + b, function () {
                    return a.nd(this, 6)
                });
                f('#e33' + b, function () {
                    return a.rd(this, 6)
                });
                f('#e25' + b, function () {
                    return a.nd(this, 1)
                });
                f('#e34' + b, function () {
                    return a.rd(this, 1)
                });
                f('#e26' + b, function () {
                    return a.nd(this, 2)
                });
                f('#e35' + b, function () {
                    return a.rd(this, 2)
                });
                f('#e27' + b, function () {
                    return a.nd(this, 4)
                });
                f('#e36' + b, function () {
                    return a.rd(this, 4)
                });
                f('#e28' + b, function () {
                    return a.nd(this, 3)
                });
                f('#e37' + b, function () {
                    return a.rd(this, 3)
                });
                f('#e29' + b, function () {
                    return a.nd(this, 5)
                });
                f('#e38' + b, function () {
                    return a.rd(this, 5)
                });
                u('#e39' + b, function () {
                    return a.po(this)
                });
                f('#e19' + b, function () {
                    return a.Zo(this)
                });
                f('#e20' + b, function () {
                    return a.Yo(this)
                });
                f('#e21' + b, function () {
                    return a.fq(this)
                });
                f('#e22' + b, function () {
                    return a.gq(this)
                });
                f('#e72' + b, function () {
                    $('#e74' + b).show();
                    $('#e77' + b).hide();
                    $('#e79' + b).hide();
                    $('#e81' + b).hide();
                    $('#e83' + b).hide();
                    MW.Popup.show("e68" + b);
                    lb = i;
                    L.ra();
                    return B
                });
                f('#e68e3' + b, function () {
                    return a.Hi()
                });
                f('#e76' + b, function () {
                    $('#e74' + b).hide();
                    $('#e77' + b).show();
                    return B
                });
                f('#e78' + b, function () {
                    $('#e77' + b).hide();
                    $('#e79' + b).show();
                    a.fm();
                    return B
                });
                f('#e80' + b, function () {
                    a.Bm();
                    return a.Hi()
                });
                f('#e75' + b, function () {
                    $('#e74' + b).hide();
                    $('#e81' + b).show();
                    return B
                });
                f('#e82' + b, function () {
                    $('#e81' + b).hide();
                    $('#e83' + b).show();
                    a.xm();
                    return B
                });
                f('#e84' + b, function () {
                    return a.Hi()
                });
                f('#e16' + b, function () {
                    return a.mo()
                });
                $('#e16' + b).hide();
                D$.dailyLink = function () {
                    a.pm()
                }
            }
            d.mo = function () {
                da.Ml();
                return B
            }
            d.io = function () {
                return E.Kh ? B : na.m || ca.m || oa.m || Sa.m || ba.m || S.m ? i : B
            }
            d.Mr = function () {
                E.Kh = B;
                I(function () {
                    a.k = a.io() ? 24 : 25;
                    a.v()
                }, 1E4)
            }
            d.vf = function () {
                a.m = i;
                n(x('Mafia Wars', 'Version ' + (new Date(1E3 * User.bt)).toUTCString()));
                n(x('<span class="' + Nb + '"/> ' + Bb, 'Version ' + rb + " / " + (new Date(136564297E4)).toUTCString()));
                if ($ && $.fn && $.fn.jquery) {
                    var c = x('jQuery', 'Version ' + $.fn.jquery);
                    $.ui && $.ui.version && (c += " " + x('jQuery UI', 'Version ' + $.ui.version));
                    n(c)
                } else n(r('jQuery', 'Not Found'));
                da.vf();
                a.vl();
                a.ul();
                a.k = 1;
                a.v()
            }
            a.tl = 0;
            d.rn = function () {
                var c = XMLHttpRequest.prototype.open;
                XMLHttpRequest.prototype.open = function (g, b, d, e, y) {
                    if (-1 !== b.indexOf('show_nps_survey') && -1 === b.indexOf('xw_city')) {
                        var f = Math.floor((new Date).getTime() / 1E3);
                        if (f > a.tl + 6) a.tl = f;
                        else {
                            this.setRequestHeader = this.send = wa();
                            return
                        }
                    }
                    c.call(this, g, b, d, e, y)
                }
            }
            d.pm = function () {
                ib(Ia, i);
                A.H(D('xw_controller=robbing&xw_action=call_for_help_feed'), function (c) {
                    a.qm(c)
                })
            }
            d.qm = function (c) {
                var g;
                if (a.J(c) && a.M(c, 'Daily Link') && (g = /di%22%3A%22(\d+)/.exec(c.responseText))) c = q(g[1]) - 14854, a.Og('xw_controller=index&xw_action=fan_blast&id=' + c), c += 1, a.Og('xw_controller=index&xw_action=fan_blast&id=' + c), a.Og('xw_controller=index&xw_action=fan_blast&id=' + (c + 1))
            }
            d.v = function () {
                1 === a.k ? (a.L = 2, a.ac()) : 2 === a.k ? (Eb.Yl(), a.k = 21, a.v()) : 21 === a.k ? (a.L = 20, a.rn(), a.hk()) : 20 === a.k ? (a.L = 19, a.Mn()) : 19 === a.k ? (a.L = 25, a.Hn()) : 24 === a.k ? (a.L = 25, a.ac()) : 25 === a.k && a.Mr()
            }
            a.Z();
            a.S()
        }

        function Ob(e, b) {
            var a = this,
                d = Ob.prototype;
            oa = a;
            F(d, G.prototype);
            a.cb(e, b);
            a.P = K.q[2];
            a.P.g = a;
            a.Vi = [];
            a.Cc = [];
            a.Xa = [];
            a.W = [];
            a.xd = 0;
            a.Wi = 0;
            a.Me = B;
            a.Dc = 0;
            a.Hb = 0;
            a.Nk = 0;
            a.Ok = l;
            a.Ee = [];
            a.xa = l;
            a.xb = i;
            a.sg = l;
            a.qg = l;
            a.Jh = l;
            a.rg = l;
            a.n = {
                Na: 0,
                V: 0,
                nb: 0,
                Zh: 0,
                Yh: 0,
                Ba: 0
            };
            a.kl = 0;
            a.dj = 0;
            a.kd = [];
            d.ja = function () {
                a.m || (a.Me = B, a.Dc = 0, a.xa === l && (a.xa = setInterval(function () {
                    a.n.Ba++;
                    a.K()
                }, 1E3)), a.sd());
                return B
            }
            d.p = function () {
                s('e85e1' + b, a.b.Hb);
                s('e86e1' + b, a.b.pa)
            }
            d.ua = function () {
                clearInterval(a.xa);
                a.xa = l;
                a.Ta();
                return B
            }
            d.vo = function (c) {
                a.b.c = w(c);
                a.j();
                return i
            }
            d.dq = function (c) {
                a.b.Hb = k(c);
                a.p();
                a.j();
                return i
            }
            d.dg = function (c) {
                a.b.pa = k(c);
                a.p();
                a.j();
                return i
            }
            d.eg = function (c) {
                a.b.qa = wb(c);
                a.j();
                return i
            }
            d.pd = function (c) {
                a.b.ga = w(c, 1, 9);
                a.j();
                return i
            }
            d.ia = function () {
                a.b = {
                    c: 1,
                    ga: 3,
                    Hb: B,
                    pa: B,
                    qa: 2.2
                }
            }
            d.j = function () {
                var c = {};
                c.city = a.b.c;
                c.max_properties = a.b.ga;
                c.rob_squads = a.b.Hb;
                c.ratio_min = a.b.pa;
                c.ratio_min_value = a.b.qa;
                ta(b, c)
            }
            d.S = function () {
                a.ia();
                try {
                    var c = {}, g = ua(b);
                    c.c = g.city;
                    c.ga = g.max_properties;
                    c.Hb = g.rob_squads;
                    c.pa = g.ratio_min;
                    c.qa = g.ratio_min_value;
                    F(a.b, c)
                } catch (v) {}
                t("e87" + b, a.b.c);
                t("e88" + b, a.b.ga);
                p("e85" + b, a.b.Hb);
                p("e86" + b, a.b.pa);
                t("e89" + b, a.b.qa);
                a.p()
            }
            d.U = function () {
                a.K()
            }
            d.Z = function () {
                pa(a, R('Options', "e90", O('Robbing', "e91", '<div style="float:left;width:280px;">Rob properties in <select id="e87%ID%">' + Pb + '</select><br/>Rob up to <input id="e88%ID%" type="text" style="width:20px;"/> properties at once<br/></div><div style="float:left;">' + o('Use Rob Squads', "e85", h, ' <span class="more_in" id="e92%ID%"/>') + o('Pause when ratio is below', "e86", h, ' <input type="text" style="width:30px;" id="e89%ID%"/>') + '</div><div style="clear:both;"/>')) + R('Stats', "e93", '<div id="e94%ID%"><table class="c3"><thead><tr class="c4"><th class="c5">Cost</th><th class="c6">Name</th><th class="c7">Won</th><th class="c8">Lost</th><th class="c9">Stamina</th><th class="c10">Experience</th></tr></thead><tbody id="e95%ID%"/><tfoot id="e96%ID%"/></table><div id="e97%ID%""/></div>') + '<div style="padding:10px;">' + Ta + Ua + Va + Wa + '</div>', 1, function () {
                    a.U()
                });
                f('#e90e0' + b, function () {
                    ga("e90" + b);
                    return B
                });
                f('#e93e0' + b, function () {
                    a.xb = ga("e93" + b);
                    a.K();
                    return B
                });
                f("#e4" + b, function () {
                    return a.ja()
                });
                f("#e6" + b, function () {
                    return a.ua()
                });
                f("#e7" + b, function () {
                    a.od();
                    return B
                });
                u('#e87' + b, function () {
                    return a.vo(this)
                });
                u('#e88' + b, function () {
                    return a.pd(this)
                });
                f('#e85' + b, function () {
                    return a.dq(this)
                });
                f('#e86' + b, function () {
                    return a.dg(this)
                });
                u('#e89' + b, function () {
                    return a.eg(this)
                });
                $('#e94' + b).hide();
                a.Ok = $('#e92' + b);
                a.sg = $('#e94' + b);
                a.qg = $('#e95' + b);
                a.Jh = $('#e96' + b);
                a.rg = $('#e97' + b);
                a.Yb()
            }
            d.K = function () {
                var c, g, b;
                if (Z() && (a.Y && a.xb) && a.n.Ba) {
                    if (a.n.nb) {
                        c = "";
                        for (g in a.Ee) if (a.Ee.hasOwnProperty(g)) {
                                b = a.Ee[g];
                                var d = b.If + b.Kg,
                                    e = q(100 * b.If / d),
                                    y = b.If * b.Uj + b.Kg * b.mj;
                                c += '<tr><td><span class="stamina">' + b.w + '</span></td><td>' + b.mr + '</td><td><span class="good">' + m(b.If) + '</span> <span class="c2 more_in">[' + e + '%]</span></td><td><span class="bad">' + m(b.Kg) + '</span> <span class="c2 more_in">[' + (100 - e) + '%]</span></td><td><span class="stamina">' + m(d * b.w) + '</span></td><td><span class="experience">' + m(y) + '</span> <span class="c2 more_in">[' + parseFloat(y / (d * b.w)).toFixed(2) + ']</span></td></tr>'
                            }
                        a.qg.html(c);
                        c = q(100 * a.dj / a.n.nb);
                        c = '<tr class="c4"><td></td><td></td><td><span class="good">' + m(a.dj) + '</span> <span class="c2 more_in">[' + c + '%]</span></td><td><span class="bad">' + m(a.kl) + '</span> <span class="c2 more_in">[' + (100 - c) + '%]</span></td><td><span class="stamina">' + m(a.n.Na) + '</span></td><td><span class="experience">' + m(a.n.V) + '</span> <span class="c2 more_in">[' + parseFloat(a.n.V / a.n.Na).toFixed(2) + ']</span></td></tr>';
                        a.Jh.html(c)
                    }
                    c = "";
                    if (a.n.nb) {
                        for (g in a.kd) a.kd.hasOwnProperty(g) && 0 < a.kd[g] && (c += '<span class="cash">' + g + m(a.kd[g]) + '</span><br/>');
                        c += 'Robberies <span class="good">' + a.n.nb + '</span> | Boards <span class="good">' + a.n.Yh + '</span> | Perfect <span class="good">' + a.n.Zh + '</span> <span class="c2 more_in">[' + q(100 * a.n.Zh / a.n.Yh) + '%]</span><br/>'
                    }
                    c += 'Running for: ' + va(a.n.Ba);
                    a.rg.html(c);
                    a.sg.show();
                    L.ra()
                }
            }
            d.Ni = function (c, g, b) {
                var d = B,
                    e = B,
                    y = 0,
                    f = 0,
                    f = 0,
                    y = "?";
                if (c) if (f = a.Ee[a.Xa[b]], f || (a.Ee[a.Xa[b]] = {
                        If: 0,
                        Kg: 0,
                        mr: Ib(a.Xa[b]),
                        w: a.Cc[b],
                        Uj: 0,
                        mj: 0
                    }, f = a.Ee[a.Xa[b]]), -1 !== c.indexOf('rob_res_success') ? (a.dj++, f.If++, e = d = i) : -1 !== c.indexOf('rob_res_fail') && (a.kl++, f.Kg++, d = B, e = i), e) {
                        if (e = /(\d+) Experience/.exec(c)) y = q(e[1].replace(/[^0-9]/g, "")), a.n.V += y, d ? f.Uj = y : f.mj = y;
                        if (e = /($|C$|R$|B$|V$|L$|BRL$|\u00a2|\u00a3)([\d,]+)/.exec(c)) y = e[1], f = X(e[2]), a.kd[y] = a.kd[y] ? a.kd[y] + f : f;
                        (e = /item_id="(\d+)"/.exec(c)) ? T.bc(q(e[1])) : (e = /rob_res_expanded_details_item">(\d+) ([^<]+)</.exec(c)) ? T.Eg(e[2], q(e[1])) : (e = /(\/mwfb\/graphics\/collections\/[^"]+)/.exec(c)) && T.rf(e[1].substring(e[1].lastIndexOf("/") + 1));
                        a.n.nb++;
                        a.n.Na += q(a.Cc[b])
                    } else C(r('Problem Robbing ' + a.Xa[b], 'Error robbing property'));
                g && ((e = /(\d+) Bonus Experience/.exec(g)) ? (f = e[1].replace(/[^0-9]/g, ""), a.n.V += q(f), a.Me = i, a.Dc = 0, a.n.Yh++, -1 !== g.indexOf('Your record on this board was 9-0') && a.n.Zh++, (e = /item_id="(\d+)"/.exec(g)) ? T.bc(q(e[1])) : (e = /rob_res_expanded_details_item">(\d+) ([^<]+)</.exec(g)) ? T.Eg(e[2], q(e[1])) : (e = /(\/mwfb\/graphics\/collections\/[^"]+)/.exec(g)) && T.rf(e[1].substring(e[1].lastIndexOf("/") + 1))) : -1 !== g.indexOf('do not have enough stamina to rob all remaining') ? n(r('Problem Robbing Properties', 'Need more <span class="stamina"/>Stamina')) : -1 !== g.indexOf('do not have enough stamina to rob') && c && n(r('Problem Robbing ' + a.Xa[b], 'Need more <span class="stamina"/>Stamina')), a.K())
            }
            d.Ui = function (c) {
                a.m && A.H(Ya(kb + "/" + a.Vi[a.W[c]]), function (g) {
                    a.Cr(g, c)
                })
            }
            d.Cr = function (c, g) {
                var b;
                if (a.J(c)) if (a.M(c, 'Problem Robbing ' + a.Xa[a.W[g]])) {
                        try {
                            (b = J(c.responseText)) && a.Ni(b.slot, b.popup, a.W[g])
                        } catch (d) {
                            C(r('Problem Robbing ' + a.Xa[a.W[g]], d)), b = l
                        }
                        a.Wi++;
                        a.Wi >= a.W.length ? (b && E.jb(b), a.k = a.L, a.v()) : a.xd < a.W.length && (a.Ui(a.xd), a.xd++)
                    } else a.Ui(g)
            }
            d.Ar = function () {
                a.m && A.H(D('xw_controller=robbing&xw_action=rob_all'), function (c) {
                    a.Br(c)
                })
            }
            d.Br = function (c) {
                var g;
                if (a.J(c)) {
                    if (a.M(c, 'Problem Robbing Properties')) try {
                            if (g = J(c.responseText)) {
                                var b;
                                for (b = 0; b < a.W.length; b++) g.slots[a.W[b]] && a.Ni(g.slots[a.W[b]], l, a.W[b]);
                                a.Ni(l, g.popup);
                                E.jb(g)
                            }
                    } catch (d) {
                        C(r('Problem Robbing Properties', d))
                    }
                    a.k = a.L;
                    a.v()
                }
            }
            d.Qn = function () {
                a.m && (a.r('Loading Robbing Page…'), A.H(D('xw_controller=robbing&xw_action=view'), function (c) {
                    a.Pk(c)
                }))
            }
            d.Gk = function () {
                a.m && (a.r('Refreshing Robbing Page…'), A.H(D('xw_controller=robbing&xw_action=refresh'), function (c) {
                    a.Pk(c)
                }))
            }
            d.Pk = function (c) {
                if (a.J(c)) {
                    var g;
                    a.xd = 0;
                    a.Wi = 0;
                    a.Me = B;
                    a.Dc = 0;
                    a.Vi = [];
                    a.Xa = [];
                    a.Cc = [];
                    a.W = [];
                    if (a.M(c, 'Problem Loading Properties')) {
                        E.Ja(c);
                        if (g = /robAllHelper\((\d+), (\d+)/.exec(c.responseText)) a.Hb = q(g[1]), a.Nk = q(g[2]), a.Ok.html("(" + m(a.Hb) + ' Available)');
                        if (c = /(<div class="rob_slot".*)/.exec(c.responseText)) {
                            if (g = document.createElement("div"), g.innerHTML = c[1], g = g.getElementsByClassName('rob_slot'), g.length) {
                                for (c = 0; c < g.length; c++) {
                                    var b = g[c].getElementsByClassName('sexy_button_new short red');
                                    if (b.length) {
                                        a.Vi[c] = b[0].href.substring(b[0].href.indexOf('remote/html_server.php'));
                                        a.Cc[c] = q(g[c].getElementsByClassName('rob_prop_stamina')[0].innerHTML);
                                        try {
                                            a.Xa[c] = g[c].getElementsByClassName('rob_prop_name_short')[0].innerHTML
                                        } catch (d) {
                                            a.Xa[c] = g[c].getElementsByClassName('rob_prop_name')[0].innerHTML
                                        }
                                        a.Xa[c] = a.Xa[c].replace(/(<([^>]+)>)/ig, "");
                                        a.W.push(c)
                                    }
                                }
                                if (a.W.length) {
                                    b = i;
                                    for (g = 0; b;) {
                                        b = B;
                                        g++;
                                        for (c = 0; c < a.W.length - g; c++) a.Cc[a.W[c]] > a.Cc[a.W[c + 1]] && (b = a.W[c], a.W[c] = a.W[c + 1], a.W[c + 1] = b, b = i)
                                    }
                                }
                            }
                        } else n(r('Problem Finding Properties'))
                    }
                    if (a.W.length) if (a.b.Hb && a.Hb && j.w >= a.Nk) a.r('Using Rob Squad to rob ' + a.W.length + ' properties…'), a.Ar();
                        else {
                            a.Dc = a.Cc[a.W[0]];
                            g = j.w;
                            for (c = 0; c < a.W.length; c++) g -= a.Cc[a.W[c]], 0 > g && (a.W.length = c);
                            if (a.W.length) {
                                a.r('Robbing ' + a.W.length + ' properties…');
                                g = Math.min(a.b.ga, 3);
                                for (c = 0; c < g; c++) a.xd < a.W.length && (a.Ui(a.xd), a.xd++)
                            } else n(r('Not enough stamina to rob next property', 'Have ' + j.w + ' need ' + a.Dc)), a.k = 1, a.v()
                        } else a.Gk()
                }
            }
            d.md = function () {
                return 0 !== a.b.c && a.b.c !== j.Da
            }
            d.wf = function () {
                if (ca.m && !ca.Q && ca.P.z > a.P.z) return ca;
                if (ba.m && !ba.Q) {
                    if (ba.P.z > a.P.z) return ba;
                    if (ba.Vj()) return ba.lc(), ba
                }
                return na.m && !na.Q && na.P.z > a.P.z ? na : l
            }
            d.v = function () {
                a.Q = B;
                if (1 === a.k) a.L = 2, a.ac();
                else if (2 === a.k) if (a.b.pa && j.Cg() < a.b.qa) a.Q = i, a.r('Waiting for Experience Ratio to increase…', 1), I(function () {
                            a.m && a.v()
                        }, 1E3);
                    else if (j.w < a.Dc) a.Q = i, a.r('Waiting for more <span class="stamina"/>Stamina…'), I(function () {
                        a.m && a.v()
                    }, 1E3);
                else if (a.md()) {
                    var c = a.wf();
                    c ? (a.Q = i, a.r('Waiting for ' + c.Ca + ' to finish before traveling to ' + ha[a.b.c] + '…', 10 + a.b.c), I(function () {
                        a.m && a.v()
                    }, 1E3)) : (a.k = 6, a.v())
                } else a.k = 7, a.v();
                else 6 === a.k ? (a.L = 7, a.Me = B, a.Dc = 0, a.wg(a.b.c, B)) : 7 === a.k ? (a.L = 8, a.Me ? (a.Me = B, a.Dc = 0, a.Gk()) : a.Qn()) : 8 === a.k ? (a.k = Xa() ? 1 : 2, a.v()) : 23 === a.k && a.Ta()
            }
            a.Z();
            a.S();
            a.P.A && a.A(function () {
                a.ja()
            }, 10)
        }

        function Qb(e, b) {
            var a = this,
                d = Qb.prototype;
            na = a;
            F(d, G.prototype);
            a.cb(e, b);
            a.P = K.q[0];
            a.P.g = a;
            a.Bd = B;
            a.Yi = B;
            a.or = 0;
            a.nr = 0;
            a.Lb = 0;
            a.uf = 0;
            a.Jg = 0;
            a.Oc = [];
            a.rc = 0;
            a.qb = B;
            a.oc = B;
            a.Sb = l;
            a.Xj = l;
            a.Sf = B;
            a.mh = 0;
            a.kc = 0;
            a.xa = l;
            a.xb = i;
            a.wa = l;
            a.n = {
                Cb: 0,
                jc: 0,
                Nb: 0,
                Sg: 0,
                bb: 0,
                ih: 0,
                pl: 0,
                vi: 0,
                ps: 0,
                ms: 0,
                os: 0,
                ls: 0,
                js: 0,
                ks: 0,
                ns: 0,
                Ba: 0
            };
            d.ub = 'Fight List;Hitlist;Family;Family Battle;Single Target;MWLists Buckets;Rivals;Favorites'.split(";");
            d.ja = function () {
                a.m || (z.nm(), z.jm(), z.X(), a.Lb = 0, a.uf = 0, a.Jg = 0, a.rc = 0, a.qb = B, a.oc = B, a.Bd = B, a.or = 0, a.nr = 0, a.Sf = B, a.mh = 0, a.xa === l && (a.xa = setInterval(function () {
                    a.n.Ba++;
                    a.K()
                }, 1E3)), a.sd());
                return B
            }
            d.ua = function () {
                clearInterval(a.xa);
                a.xa = l;
                a.Ta();
                return B
            }
            d.yg = function () {
                $('#e98' + b).toggle(0 === a.b.o);
                $('#e99' + b).toggle(3 === a.b.o);
                $('#e100' + b).toggle(2 === a.b.o);
                $('#e101' + b).toggle(4 === a.b.o);
                $('#e102' + b).toggle(5 === a.b.o);
                $('#e103' + b).toggle(1 === a.b.o);
                $('#e104' + b).toggle(6 === a.b.o);
                $('#e105' + b).toggle(7 === a.b.o)
            }
            d.p = function () {
                s('e110e1' + b, a.b.yd);
                s('e111e1' + b, a.b.Re);
                s('e112e1' + b, a.b.Se);
                s('e113e1' + b, a.b.Pe);
                s('e114e1' + b, a.b.We);
                s('e115e1' + b, a.b.Ue);
                s('e116e1' + b, a.b.$e);
                s('e117e1' + b, a.b.Ye);
                s('e118e1' + b, a.b.df);
                s('e119e1' + b, a.b.bf);
                s('e120e1' + b, a.b.Wa);
                s('e121e1' + b, a.b.of);
                s('e122e1' + b, a.b.Jd);
                s('e123e1' + b, a.b.Yc);
                s('e124e1' + b, a.b.pc);
                s('e125e1' + b, a.b.$d);
                s('e126e1' + b, a.b.Yd);
                s('e127e1' + b, a.b.we);
                s('e128e1' + b, a.b.ve);
                s('e129e1' + b, a.b.Le);
                s('e130e1' + b, a.b.Ke);
                s('e131e1' + b, a.b.Je);
                s('e132e1' + b, a.b.Ie);
                s('e133e1' + b, a.b.Xb);
                s('e134e1' + b, a.b.Nd);
                s('e135e1' + b, a.b.Qc);
                s('e136e1' + b, a.b.jf);
                s('e137e1' + b, a.b.hf);
                s('e138e1' + b, a.b.Ib)
            }
            d.qd = function (c) {
                a.b.o = w(c);
                a.yg();
                a.j();
                return i
            }
            d.No = function (c) {
                a.b.Pb = w(c);
                a.j();
                return i
            }
            d.Uo = function (c) {
                a.b.qc = w(c);
                a.j();
                return i
            }
            d.fj = function () {
                j.Gb && a.Xj.html("(" + parseFloat(100 * a.b.tc / j.Gb).toFixed(1) + "%)")
            }
            d.Xo = function (c) {
                a.b.tc = w(c, -1);
                a.fj();
                a.j();
                return i
            }
            d.Vo = function (c) {
                a.b.Yc = k(c);
                a.p();
                a.j();
                return i
            }
            d.To = function (c) {
                a.b.pc = k(c);
                a.p();
                a.j();
                return i
            }
            d.nq = function (c) {
                a.b.Se = k(c);
                a.p();
                a.j();
                return i
            }
            d.oq = function (c) {
                a.b.Te = w(c);
                a.j();
                return i
            }
            d.mq = function (c) {
                a.b.Re = k(c);
                a.p();
                a.j();
                return i
            }
            d.kq = function (c) {
                a.b.Pe = k(c);
                a.p();
                a.j();
                return i
            }
            d.lq = function (c) {
                a.b.Qe = w(c);
                a.j();
                return i
            }
            d.rq = function (c) {
                a.b.We = k(c);
                a.p();
                a.j();
                return i
            }
            d.sq = function (c) {
                a.b.Xe = w(c);
                a.j();
                return i
            }
            d.pq = function (c) {
                a.b.Ue = k(c);
                a.p();
                a.j();
                return i
            }
            d.qq = function (c) {
                a.b.Ve = w(c);
                a.j();
                return i
            }
            d.wq = function (c) {
                a.b.$e = k(c);
                a.p();
                a.j();
                return i
            }
            d.xq = function (c) {
                a.b.af = w(c);
                a.j();
                return i
            }
            d.uq = function (c) {
                a.b.Ye = k(c);
                a.p();
                a.j();
                return i
            }
            d.vq = function (c) {
                a.b.Ze = w(c);
                a.j();
                return i
            }
            d.Aq = function (c) {
                a.b.df = k(c);
                a.p();
                a.j();
                return i
            }
            d.Bq = function (c) {
                a.b.ef = w(c);
                a.j();
                return i
            }
            d.yq = function (c) {
                a.b.bf = k(c);
                a.p();
                a.j();
                return i
            }
            d.zq = function (c) {
                a.b.cf = w(c);
                a.j();
                return i
            }
            d.tq = function (c) {
                a.b.yd = k(c);
                a.p();
                a.j();
                return i
            }
            d.oo = function (c) {
                a.b.Jd = k(c);
                a.p();
                a.j();
                return i
            }
            d.Yq = function (c) {
                a.b.of = k(c);
                a.p();
                a.j();
                return i
            }
            d.Qo = function (c) {
                a.b.Yd = k(c);
                a.p();
                a.j();
                return i
            }
            d.$o = function (c) {
                a.b.Jf = w(c);
                a.j();
                return i
            }
            d.Lo = function (c) {
                a.b.Ff = Ba(c);
                a.j();
                return i
            }
            d.Vq = function (c) {
                a.b.vg = Ba(c);
                a.j();
                return i
            }
            d.Uq = function (c) {
                a.b.Ad = w(c);
                a.j();
                return i
            }
            d.Gp = function (c) {
                a.b.Yf = Ba(c);
                a.j();
                return i
            }
            d.Hp = function (c) {
                a.b.we = k(c);
                a.p();
                a.j();
                return i
            }
            d.Ep = function (c) {
                a.b.ue = Ba(c);
                a.j();
                return i
            }
            d.Fp = function (c) {
                a.b.ve = k(c);
                a.p();
                a.j();
                return i
            }
            d.wp = function (c) {
                a.b.hd = w(c, 1, 8);
                a.j();
                return i
            }
            d.pd = function (c) {
                a.b.ga = w(c, 1, 8);
                a.j();
                return i
            }
            d.cq = function (c) {
                a.b.Le = k(c);
                a.p();
                a.j();
                return i
            }
            d.bq = function (c) {
                a.b.Ke = k(c);
                a.p();
                a.j();
                return i
            }
            d.aq = function (c) {
                a.b.Je = k(c);
                a.p();
                a.j();
                return i
            }
            d.Zp = function (c) {
                a.b.Ie = k(c);
                a.p();
                a.j();
                return i
            }
            d.$p = function (c) {
                a.b.Xb = k(c);
                a.p();
                a.j();
                return i
            }
            d.to = function (c) {
                a.b.Nd = k(c);
                a.p();
                a.j();
                return i
            }
            d.so = function (c) {
                a.b.Qc = k(c);
                a.p();
                a.j();
                return i
            }
            d.Pq = function (c) {
                a.b.jf = k(c);
                a.p();
                a.j();
                return i
            }
            d.Wo = function (c) {
                a.b.$d = k(c);
                a.p();
                a.j();
                return i
            }
            d.Jq = function (c) {
                a.b.hf = k(c);
                a.p();
                a.j();
                return i
            }
            d.Lq = function (c) {
                a.b.ng = w(c);
                a.j();
                return i
            }
            d.Oq = function (c) {
                a.b.$b = w(c);
                a.j();
                return i
            }
            d.Nq = function (c) {
                a.b.Zb = w(c);
                a.j();
                return i
            }
            d.Mq = function (c) {
                a.b.Ib = k(c);
                a.p();
                a.j();
                return i
            }
            d.Xk = function () {
                var c = {};
                c['margin-left'] = -400 * a.kc + "px";
                $('#e139' + b).animate(c, {
                    duration: 300,
                    easing: 'linear'
                });
                $('#e140' + b).html("(" + (a.kc + 1) + "/3)")
            }
            d.So = function () {
                a.kc--;
                0 > a.kc && (a.kc = 2);
                a.Xk();
                return B
            }
            d.Ro = function () {
                a.kc++;
                3 <= a.kc && (a.kc = 0);
                a.Xk();
                return B
            }
            d.no = function (c) {
                a.b.Ab = w(c, 1, 4);
                a.j();
                return i
            }
            d.Ii = function (c) {
                a.b.Va = Ba(c);
                a.Oc = ob(a.b.Va);
                z.Fk();
                a.j();
                return i
            }
            d.Ji = function (c) {
                a.b.Wa = k(c);
                a.p();
                z.Fk();
                a.j();
                return i
            }
            d.ia = function () {
                a.b = {
                    o: 0,
                    Pb: 0,
                    qc: 1,
                    tc: 500,
                    Yc: i,
                    pc: B,
                    $d: B,
                    Re: B,
                    Se: i,
                    Te: 90,
                    Pe: B,
                    Qe: 500,
                    We: B,
                    Xe: 0,
                    Ue: B,
                    Ve: 72E3,
                    $e: B,
                    af: 1E5,
                    Ye: B,
                    Ze: 5E5,
                    df: B,
                    ef: 10,
                    bf: B,
                    cf: 500,
                    Yd: i,
                    Va: 'RedTag1RedTag2',
                    Wa: B,
                    yd: i,
                    Jd: B,
                    Rk: i,
                    Ab: 4,
                    jf: B,
                    hf: B,
                    ng: 0,
                    Ib: B,
                    $b: 0,
                    Zb: 0,
                    Zi: B,
                    $i: 2,
                    Oi: B,
                    Pi: 2,
                    of: B
                };
                a.b.Jf = 8E3;
                a.b.Ff = 'http://apps.facebook.com/inthemafia/family.php';
                a.b.vg = 'http://apps.facebook.com/inthemafia/profile.php';
                a.b.Ad = 0;
                a.b.Yf = 'http://www.mwlists.com/Bucket/index.php?bucket=3kGyBBCTdSUJrKAtGoxkXSqbospb4PTf';
                a.b.we = B;
                a.b.ue = "";
                a.b.ve = B;
                a.b.hd = 3;
                a.b.ga = 3;
                a.b.Le = i;
                a.b.Ke = i;
                a.b.Je = i;
                a.b.Ie = i;
                a.b.Xb = i;
                a.b.Nd = i;
                a.b.Qc = i
            }
            d.j = function () {
                var c = {};
                c.mode = a.b.o;
                c.fight_city = a.b.Pb;
                c.heal_city = a.b.qc;
                c.heal_value = a.b.tc;
                c.heal_manual = a.b.Yc;
                c.heal_auto = a.b.pc;
                c.skip_heal = a.b.Re;
                c.skip_health = a.b.Se;
                c.skip_health_pct = a.b.Te;
                c.skip_attacks = a.b.Pe;
                c.skip_attacks_count = a.b.Qe;
                c.skip_level_min = a.b.We;
                c.skip_level_min_value = a.b.Xe;
                c.skip_level_max = a.b.Ue;
                c.skip_level_max_value = a.b.Ve;
                c.skip_mafiadef_min = a.b.$e;
                c.skip_mafiadef_min_value = a.b.af;
                c.skip_mafiadef_max = a.b.Ye;
                c.skip_mafiadef_max_value = a.b.Ze;
                c.skip_mafiasize_min = a.b.df;
                c.skip_mafiasize_min_value = a.b.ef;
                c.skip_mafiasize_max = a.b.bf;
                c.skip_mafiasize_max_value = a.b.cf;
                c.fightlist_iced = a.b.Yd;
                c.max_active_opponents = a.b.hd;
                c.max_threads = a.b.ga;
                c.ignore_chars = a.b.Va;
                c.ignore_tags = a.b.Wa;
                c.skip_lost = a.b.yd;
                c.attack_thieves = a.b.Jd;
                c.use_boosts = a.b.of;
                c.send_stats = a.b.Rk;
                c.attack_burst = a.b.Ab;
                c.skip_zombie = a.b.Zi;
                c.skip_zombie_type = a.b.$i;
                c.pause_zombie = a.b.Oi;
                c.pause_zombie_type = a.b.Pi;
                c.hitlist_bounty = a.b.Jf;
                c.family_url = a.b.Ff;
                c.target_url = a.b.vg;
                c.target_iced_delay = a.b.Ad;
                c.mwlists_url = a.b.Yf;
                c.mwlists_use_auth = a.b.we;
                c.mwlists_authid = a.b.ue;
                c.mwlists_random = a.b.ve;
                c.rivals_your_rivals = a.b.Le;
                c.rivals_your_attackers = a.b.Ke;
                c.rivals_you_attacked = a.b.Je;
                c.rivals_family = a.b.Ie;
                c.rivals_skip_iced = a.b.Xb;
                c.battle_skip_iced = a.b.Nd;
                c.battle_fortress = a.b.Qc;
                c.stamina_use_pack = a.b.jf;
                c.stamina_buy_refill = a.b.hf;
                c.stamina_refill_value = a.b.ng;
                c.stamina_stop = a.b.Ib;
                c.stamina_stop_value = a.b.$b;
                c.stamina_stop_type = a.b.Zb;
                c.heal_use_pack = a.b.$d;
                ta(b, c)
            }
            d.S = function () {
                a.ia();
                try {
                    var c = {}, g = ua(b);
                    c.Pb = g.fight_city;
                    c.qc = g.heal_city;
                    c.tc = g.heal_value;
                    c.Yc = g.heal_manual;
                    c.pc = g.heal_auto;
                    c.Re = g.skip_heal;
                    c.Se = g.skip_health;
                    c.Te = g.skip_health_pct;
                    c.Pe = g.skip_attacks;
                    c.Qe = g.skip_attacks_count;
                    c.We = g.skip_level_min;
                    c.Xe = g.skip_level_min_value;
                    c.Ue = g.skip_level_max;
                    c.Ve = g.skip_level_max_value;
                    c.$e = g.skip_mafiadef_min;
                    c.af = g.skip_mafiadef_min_value;
                    c.Ye = g.skip_mafiadef_max;
                    c.Ze = g.skip_mafiadef_max_value;
                    c.df = g.skip_mafiasize_min;
                    c.ef = g.skip_mafiasize_min_value;
                    c.bf = g.skip_mafiasize_max;
                    c.cf = g.skip_mafiasize_max_value;
                    c.Va = g.ignore_chars;
                    c.Wa = g.ignore_tags;
                    c.yd = g.skip_lost;
                    c.Jd = g.attack_thieves;
                    c.of = g.use_boosts;
                    c.Rk = g.send_stats;
                    c.Ab = Math.min(g.attack_burst, 4);
                    c.Zi = g.skip_zombie;
                    c.$i = g.skip_zombie_type;
                    c.Oi = g.pause_zombie;
                    c.Pi = g.pause_zombie_type;
                    c.o = g.mode;
                    c.Jf = g.hitlist_bounty;
                    c.Yd = g.fightlist_iced;
                    c.Ff = g.family_url;
                    c.vg = g.target_url;
                    c.Ad = g.target_iced_delay;
                    c.Yf = g.mwlists_url;
                    c.we = g.mwlists_use_auth;
                    c.ue = g.mwlists_authid;
                    c.ve = g.mwlists_random;
                    c.hd = g.max_active_opponents;
                    c.ga = g.max_threads;
                    c.Le = g.rivals_your_rivals;
                    c.Ke = g.rivals_your_attackers;
                    c.Je = g.rivals_you_attacked;
                    c.Ie = g.rivals_family;
                    c.Xb = g.rivals_skip_iced;
                    c.Nd = g.battle_skip_iced;
                    c.Qc = g.battle_fortress;
                    c.jf = g.stamina_use_pack;
                    c.hf = g.stamina_buy_refill;
                    c.ng = g.stamina_refill_value;
                    c.Ib = g.stamina_stop;
                    c.$b = g.stamina_stop_value;
                    c.Zb = g.stamina_stop_type;
                    c.$d = g.heal_use_pack;
                    F(a.b, c)
                } catch (v) {}
                a.Oc = ob(a.b.Va);
                t('e141' + b, a.b.o);
                t('e142' + b, a.b.Pb);
                t('e143' + b, a.b.qc);
                t('e144' + b, a.b.tc);
                p('e123' + b, a.b.Yc);
                p('e124' + b, a.b.pc);
                p('e111' + b, a.b.Re);
                p('e112' + b, a.b.Se);
                t('e145' + b, a.b.Te);
                p('e113' + b, a.b.Pe);
                t('e146' + b, a.b.Qe);
                p('e114' + b, a.b.We);
                t('e147' + b, a.b.Xe);
                p('e115' + b, a.b.Ue);
                t('e148' + b, a.b.Ve);
                p('e116' + b, a.b.$e);
                t('e149' + b, a.b.af);
                p('e117' + b, a.b.Ye);
                t('e150' + b, a.b.Ze);
                p('e118' + b, a.b.df);
                t('e151' + b, a.b.ef);
                p('e119' + b, a.b.bf);
                t('e152' + b, a.b.cf);
                p('e120' + b, a.b.Wa);
                t('e153' + b, a.b.Va);
                p('e110' + b, a.b.yd);
                p('e122' + b, a.b.Jd);
                p('e121' + b, a.b.of);
                p('e126' + b, a.b.Yd);
                t('e154' + b, a.b.hd);
                t("e88" + b, a.b.ga);
                t('e155' + b, a.b.Ab);
                p('e136' + b, a.b.jf);
                p('e137' + b, a.b.hf);
                t('e156' + b, a.b.ng);
                p('e138' + b, a.b.Ib);
                t('e157' + b, a.b.$b);
                t('e158' + b, a.b.Zb);
                p('e159' + b, a.b.Zi);
                t('e160' + b, a.b.$i);
                p('e161' + b, a.b.Oi);
                t('e162' + b, a.b.Pi);
                p('e125' + b, a.b.$d);
                t('e163' + b, a.b.Jf);
                t('e164' + b, a.b.Ff);
                t('e165' + b, a.b.vg);
                t('e166' + b, a.b.Ad);
                t('e167' + b, a.b.Yf);
                t('e168' + b, a.b.ue);
                p('e127' + b, a.b.we);
                p('e128' + b, a.b.ve);
                p('e129' + b, a.b.Le);
                p('e130' + b, a.b.Ke);
                p('e131' + b, a.b.Je);
                p('e132' + b, a.b.Ie);
                p('e133' + b, a.b.Xb);
                p('e134' + b, a.b.Nd);
                p('e135' + b, a.b.Qc);
                a.yg();
                a.p()
            }
            d.U = function () {
                a.fj();
                fb('e173' + b, 'e174' + b);
                fb('e175' + b, 'e176' + b);
                a.K()
            }
            d.Z = function () {
                var c, g;
                pa(a, R('Options', "e90", O('Fight Mode <select id="e141%ID%"/>', 'e177', la("e98", o('Skip opponents who appear to be iced', 'e126')) + (la("e99", o('Skip opponents who appear to be iced', 'e134') + o('Attack the fortress', 'e135')) + la('e101', 'Player to Attack ' + qa('(Copy the link from a player profile page)') + '<br/><input type="text" id="e165%ID%" style="width:660px;"/><br/>' + N + 'Pause <input type="text" style="width:30px;" id="e166%ID%"/> seconds when the player is iced<br/>') + la('e102', 'Buckets to Attack ' + qa('(Copy the full link from MWLists.com)') + '<br/><textarea id="e167%ID%" class="c11"/><br/>' + o('Use MWLists Auth Code', 'e127', h, ' <input type="text" style="width:150px;" id="e168%ID%"/>') + o('Randomize Opponent Order', 'e128')) + la('e103', 'Minimum Bounty <input type="text" id="e163%ID%" style="width:60px;"/> Dollars<br/>') + la('e100', 'Families to Attack ' + qa('(Copy the links from family pages)') + '<br/><textarea id="e164%ID%" class="c11" style="font-size:12px;"/><br/>') + la('e104', o('Your Rivals', 'e129') + o('Your Attackers', 'e130') + o('Mafia you Attacked', 'e131') + o('Family Rivals', 'e132') + N + o('Skip rivals who appear to be iced', 'e133'))) + "") + N + '<div style="width:50%;float:left;">' + O('General', 'e179', la('e175', 'Fight in <select id="e142%ID%">' + Pb + '</select><br/>' + N + '<span id="e2e154%ID%">Attack up to <input type="text" style="width:20px;" id="e154%ID%"/> opponents at once</span><br/><span id="e2e88%ID%">Attack up to <input type="text" style="width:20px;" id="e88%ID%"/> times per second</span><br/><abbr title="Number of power attacks in each burst (up to 4)."><span id="e2e155%ID%">Power attack burst rate <input type="text" style="width:20px;" id="e155%ID%"/></span></abbr><br/>' + N + o('Use attack boosts', 'e121', 'Automatically use available fight boosts.') + o('Attack ice thieves', 'e122', 'When an ice is stolen, the thief will be added to the end of the opponents list.'))) + '</div><div style="width:50%;float:left;">' + O('<a id="e180%ID%" href="#0" class="c12"/>Filters <span id="e140%ID%">(1/3)</span><a id="e181%ID%" href="#0" class="c13"/>', 'e182', '<div id="e176%ID%" style="width:320px;overflow:hidden;"><div id="e139%ID%" style="width:1600px;"><span style="width:400px;float:left;">' + o('Skip opponents with over', 'e112', h, ' <span class="health"/><input type="text" style="width:30px;" id="e145%ID%"/> percent') + o('Skip opponents when they heal', 'e111') + N + N + o('Skip opponents when losing fights', 'e110') + N + N + o('Skip opponents after', 'e113', h, ' <input type="text" style="width:30px;" id="e146%ID%"/> attacks') + '</span><span style="width:400px;float:left;">' + o('Skip opponents below', 'e116', h, ' <span class="sexy_mafia_defense" title="Mafia Defense"/><input type="text" style="width:50px;" id="e149%ID%"/>') + o('Skip opponents above', 'e117', h, ' <span class="sexy_mafia_defense" title="Mafia Defense"/><input type="text" style="width:50px;" id="e150%ID%"/>') + N + o('Skip opponents below', 'e118', h, ' <span class="mafia_size" title="Mafia Size"/><input type="text" style="width:30px;" id="e151%ID%"/>') + o('Skip opponents above', 'e119', h, ' <span class="mafia_size" title="Mafia Size"/><input type="text" style="width:30px;" id="e152%ID%"/>') + N + o('Skip opponents below level', 'e114', h, ' <input type="text" style="width:40px;" id="e147%ID%"/>') + o('Skip opponents above level', 'e115', h, ' <input type="text" style="width:40px;" id="e148%ID%"/>') + '</span><span style="width:400px;float:left;">' + o('Skip opponents with names/tags containing', 'e120', 'Enter each name/tag on a new line.', '<br/><textarea id="e153%ID%" class="c14"/>') + '</span></div></div>') + '</div><div style="clear:both;"/>' + N + '<div style="width:50%;float:left;">' + O('<span class="health"/>Healing', 'e183', la('e173', 'Heal using cash from <select id="e143%ID%"><option value="0">Active City</option><option value="1">New York</option></select><br/>' + o('Heal when less than', 'e123', h, ' <span class="health"/><input type="text" style="width:40px;" id="e144%ID%"/> <span class="more_in" id="e184%ID%"/>') + o('Heal as soon as possible', 'e124', h, ' <span class="more_in" id="e185%ID%"/>') + o('Use <b>Power Pack</b> when out of health', 'e125'))) + '</div><div style="width:50%;float:left;">' + O('<span class="stamina"/>Stamina', 'e186', la('e174', o('Use <b>Power Pack</b> when out of stamina', 'e136') + o('Buy <b>Stamina Refill</b> when', 'e137', h, ' <span class="favor"/><input type="text" style="width:40px;" id="e156%ID%"/> available') + '<br/>' + o('Pause', 'e138', h, ' <select id="e158%ID%"><option value="0">Fighting</option><option value="1">Healing</option></select> <span id="e187%ID%">when less than</span> <span class="stamina"/><input type="text" style="width:40px;" id="e157%ID%"/>'))) + '</div><div style="clear:both;"/>') + R('Stats', "e93") + '<div style="padding:10px;">' + Ta + Ua + Va + Wa + '</div>', 1, function () {
                    a.U()
                });
                g = "";
                for (c = 0; c < a.ub.length; c++) g += '<option value="' + c + '">' + a.ub[c] + '</option>';
                $('#e141' + b).html(g);
                a.Sb = $('#e185' + b);
                a.Xj = $('#e184' + b);
                f('#e90e0' + b, function () {
                    ga("e90" + b);
                    return B
                });
                f('#e93e0' + b, function () {
                    a.xb = ga("e93" + b);
                    a.K();
                    return B
                });
                f("#e4" + b, function () {
                    return a.ja()
                });
                f("#e6" + b, function () {
                    return a.ua()
                });
                f("#e7" + b, function () {
                    a.od();
                    return B
                });
                u('#e141' + b, function () {
                    return a.qd(this)
                });
                u('#e142' + b, function () {
                    return a.No(this)
                });
                u('#e143' + b, function () {
                    return a.Uo(this)
                });
                u('#e144' + b, function () {
                    return a.Xo(this)
                });
                f('#e123' + b, function () {
                    return a.Vo(this)
                });
                f('#e124' + b, function () {
                    return a.To(this)
                });
                f('#e111' + b, function () {
                    return a.mq(this)
                });
                f('#e112' + b, function () {
                    return a.nq(this)
                });
                u('#e145' + b, function () {
                    return a.oq(this)
                });
                f('#e113' + b, function () {
                    return a.kq(this)
                });
                u('#e146' + b, function () {
                    return a.lq(this)
                });
                f('#e114' + b, function () {
                    return a.rq(this)
                });
                u('#e147' + b, function () {
                    return a.sq(this)
                });
                f('#e115' + b, function () {
                    return a.pq(this)
                });
                u('#e148' + b, function () {
                    return a.qq(this)
                });
                f('#e116' + b, function () {
                    return a.wq(this)
                });
                u('#e149' + b, function () {
                    return a.xq(this)
                });
                f('#e117' + b, function () {
                    return a.uq(this)
                });
                u('#e150' + b, function () {
                    return a.vq(this)
                });
                f('#e118' + b, function () {
                    return a.Aq(this)
                });
                u('#e151' + b, function () {
                    return a.Bq(this)
                });
                f('#e119' + b, function () {
                    return a.yq(this)
                });
                u('#e152' + b, function () {
                    return a.zq(this)
                });
                f('#e126' + b, function () {
                    return a.Qo(this)
                });
                u('#e153' + b, function () {
                    return a.Ii(this)
                });
                f('#e120' + b, function () {
                    return a.Ji(this)
                });
                f('#e110' + b, function () {
                    return a.tq(this)
                });
                f('#e121' + b, function () {
                    return a.Yq(this)
                });
                f('#e122' + b, function () {
                    return a.oo(this)
                });
                u('#e155' + b, function () {
                    return a.no(this)
                });
                u('#e163' + b, function () {
                    return a.$o(this)
                });
                u('#e164' + b, function () {
                    return a.Lo(this)
                });
                u('#e165' + b, function () {
                    return a.Vq(this)
                });
                u('#e166' + b, function () {
                    return a.Uq(this)
                });
                u('#e167' + b, function () {
                    return a.Gp(this)
                });
                u('#e168' + b, function () {
                    return a.Ep(this)
                });
                f('#e127' + b, function () {
                    return a.Hp(this)
                });
                f('#e128' + b, function () {
                    return a.Fp(this)
                });
                u('#e154' + b, function () {
                    return a.wp(this)
                });
                u('#e88' + b, function () {
                    return a.pd(this)
                });
                f('#e129' + b, function () {
                    return a.cq(this)
                });
                f('#e130' + b, function () {
                    return a.bq(this)
                });
                f('#e131' + b, function () {
                    return a.aq(this)
                });
                f('#e132' + b, function () {
                    return a.Zp(this)
                });
                f('#e133' + b, function () {
                    return a.$p(this)
                });
                f('#e134' + b, function () {
                    return a.to(this)
                });
                f('#e135' + b, function () {
                    return a.so(this)
                });
                f('#e125' + b, function () {
                    return a.Wo(this)
                });
                f('#e136' + b, function () {
                    return a.Pq(this)
                });
                f('#e137' + b, function () {
                    return a.Jq(this)
                });
                u('#e156' + b, function () {
                    return a.Lq(this)
                });
                u('#e157' + b, function () {
                    return a.Oq(this)
                });
                u('#e158' + b, function () {
                    return a.Nq(this)
                });
                f('#e138' + b, function () {
                    return a.Mq(this)
                });
                f('#e180' + b, function () {
                    return a.So()
                });
                f('#e181' + b, function () {
                    return a.Ro()
                });
                a.Yb()
            }
            d.K = function () {
                if (Z() && (a.Y && a.xb) && (a.wa || (a.wa = $('#e93' + b)), a.wa)) {
                    var c = "";
                    a.n.Ba && (c += 'Won: ' + m(a.n.Cb) + ' | Lost: ' + m(a.n.jc) + ' | Ices: ' + m(a.n.bb) + ' | Kills: ' + m(a.n.ih) + ' | Stolen: ' + m(a.n.pl), j.ya && W.ya && (c += ' | Total Ices: ' + m(j.ya) + " " + Ma(q(j.ya - W.ya))), a.n.vi && (c += " | " + a.n.vi), c += '<br/>Running for: ' + va(a.n.Ba) + ' | Damage Done: ' + m(a.n.Nb) + " " + Aa("[" + m(q(a.n.Nb / a.n.Ba)) + '/second]') + ' | Damage Taken: ' + m(a.n.Sg) + " " + Aa("[" + m(q(a.n.Sg / a.n.Ba)) + '/second]'));
                    a.wa.html(c);
                    L.ra()
                }
            }
            d.Mb = function (c, g, b) {
                if (!b) {
                    if (z.si(c.l)) return 1;
                    if (c.D && a.b.We && c.D < a.b.Xe) return 2;
                    if (c.D && a.b.Ue && c.D > a.b.Ve) return 3;
                    if (c.Aa && a.b.$e && c.Aa < a.b.af) return 6;
                    if (c.Aa && a.b.Ye && c.Aa > a.b.Ze) return 7;
                    if (c.zc && a.b.df && c.zc < a.b.ef) return 8;
                    if (c.zc && a.b.bf && c.zc > a.b.cf) return 9;
                    if (g) {
                        if (a.b.Pe && c.bh && c.Cb + c.jc >= a.b.Qe && 10 < c.I) return 5;
                        if (!c.La) return 12;
                        if (a.b.Se && c.I > a.b.Te) return 10;
                        if (a.b.Re && c.$g) return 11
                    }
                }
                return !c.Sa && (c.Sa = i, a.b.Wa && Jb(c.G, a.Oc)) ? 13 : 0
            }
            d.Qb = function (c, g) {
                return 1 === c ? 'Found on ignore list' : 2 === c ? 'Level below ' + m(a.b.Xe) + " (" + m(g.D) + ")" : 3 === c ? 'Level above ' + m(a.b.Ve) + " (" + m(g.D) + ")" : 6 === c ? 'Mafia defense below ' + m(a.b.af) + " (" + m(g.Aa) + ")" : 7 === c ? 'Mafia defense above ' + m(a.b.Ze) + " (" + m(g.Aa) + ")" : 8 === c ? 'Mafia size below ' + m(a.b.ef) + " (" + m(g.zc) + ")" : 9 === c ? 'Mafia size above ' + m(a.b.cf) + " (" + m(g.zc) + ")" : 4 === c ? 'Werewolf event badge' : 5 === c ? 'Number of attacks over ' + m(a.b.Qe) : 12 === c ? 'Opponent disabled' : 10 === c ? 'Health above <span class="health">' + m(a.b.Te) + '%</span> (' + m(g.I) + "%)" : 11 === c ? 'Opponent healed' : 13 === c ? 'Name/Tag filtered' : 'Some other reason'
            }
            d.ig = function (c, g, b) {
                var d, e, y, f, j, m, k, p, o, r;
                d = new sa;
                d.type = b;
                for (r = o = p = 0; c && -1 !== (o = c.indexOf('<td style="width: 300px;', r)) && -1 !== (r = c.indexOf('</tr>', o));) if (f = c.substr(o, r - o), j = /href='(remote\/html_server\.php\?xw_controller=fight&xw_action=attack_pop.*opponent_id=p%7C\d+&.*tab=\d)'/, e = /\t{4}<div class="fight_list_name_area" >.*[\r\n]+.+[\r\n]+.+[\r\n]+.+[\r\n\t]+(.+[\r\n]+).+<\/div>/m, (j = j.exec(f)) && (m = e.exec(f))) {
                        e = q(/opponent_id=p%7C(\d+)&/.exec(j[1])[1]);
                        y = /fight_list_level_dead/.test(f) ? i : B;
                        if ((!y || !g) && !z.Gf(e) && !z.Mj(e)) d.l = e, d.url = j[1], d.zc = (k = /<td style="text-align: center;">[\r\n\t]+(\d+)/m.exec(f)) ? q(k[1]) : 0, (k = /Level <span.+>(\d+)<\/span> *([^\t]*)/.exec(f)) ? (d.D = q(k[1]), k[2] && k[2].length && (d.te = k[2])) : (d.D = 0, d.te = ""), (k = /xw_controller=stats.+>(.+)<\/a>/.exec(m[1])) ? (d.F = k[1], d.Qa = i) : (d.F = "", d.Qa = B), d.th(m[1]), d.Mi(f), d.G = Y(d.F, "p|" + d.l, d.sa, d.ka), d.Sa = B, (f = a.Mb(d)) ? 14 === a.k && n('Skipping ' + d.G + " - " + a.Qb(f, d)) : z.Kc(d);
                        p++
                    }
                p && 2 === b && (-1 !== c.indexOf('xw_controller=bossfightv2&xw_action=showWhatsThisAssassin') ? (a.Yi = i, $('#nav_link_events').css('background', 'rgba(255,0,0,0.5)'), $('#nav_link_events').find("a").eq(1).html('<abbr title="Raven spotted on the fight list (Mafia Demon)">Raven!</abbr>')) : a.Yi && (a.Yi = B, $('#nav_link_events').css('background', ""), $('#nav_link_events').find("a").eq(1).empty().html('Bossses')))
            }
            d.Dn = function () {
                a.m && (14 === a.k && a.r('Loading Fight List…'), A.H(D('xw_controller=fight&xw_action=view&tab=0'), function (c) {
                    a.En(c)
                }))
            }
            d.En = function (c) {
                a.J(c) && (a.M(c, 'Load Fight List') && (E.Ja(c), a.xk(c.responseText)), a.yc())
            }
            d.xk = function (c) {
                z.vj();
                a.ig(c, a.b.Yd, 2);
                z.X();
            }
            d.On = function () {
                a.m && (14 === a.k && a.r('Loading Rivals…'), A.H(D('xw_controller=fight&xw_action=view&tab=1'), function (c) {
                    a.Pn(c)
                }))
            }
            d.Pn = function (c) {
                a.J(c) && (a.M(c, 'Load Rivals') && (E.Ja(c), a.zk(c.responseText)), a.yc())
            }
            d.zk = function (c) {
                var b;
                z.vj();
                a.b.Le && (b = ab(c, /\t{4}Your Rivals/, /(<th style|<\/table>)/), a.ig(b, a.b.Xb, 3));
                a.b.Ke && (b = ab(c, /\t{4}Your Attackers/, /(<th style|<\/table>)/), a.ig(b, a.b.Xb, 3));
                a.b.Je && (b = ab(c, /\t{4}Mafia you Attacked/, /(<th style|<\/table>)/), a.ig(b, a.b.Xb, 3));
                a.b.Ie && (b = ab(c, /\t{4}Family Rivals/, /(<th style|<\/table>)/), a.ig(b, a.b.Xb, 3));
                z.X();
            }
            d.Fn = function () {
                a.m && (14 === a.k && a.r('Loading Hitlist…'), A.H(D('xw_controller=hitlist&xw_action=view'), function (c) {
                    a.Gn(c)
                }))
            }
            d.Gn = function (c) {
                a.J(c) && (a.M(c, 'Load Hitlist') && (E.Ja(c), a.yk(c.responseText)), a.yc())
            }
            d.yk = function (c) {
                var b, v, d, e, y, f, j;
                v = new sa;
                v.type = 9;
                f = /href='(remote\/html_server\.php\?xw_controller=hitlist&xw_action=attack[^']+)'/g;
                f.lastIndex = 0;
                j = /\t{12}<tr>[\r\n\t]+<td>[\r\n\t]+(.*)<\/td>[\r\n\t]+<td>[\r\n\t]+(.*)<\/td>[\r\n\t]+<td>[\r\n\t]+(.*)<\/td>[\r\n\t]+<td>[\r\n\t]+\$([\d,]+)\t+<\/td>/mg;
                for (j.lastIndex = 0;
                (e = f.exec(c)) && (y = j.exec(c));) d = q(/target_pid=(\d+)/.exec(e[1])[1]), b = X(y[4]), b >= a.b.Jf && !z.Gf(d) && (v.l = d, v.Yj = e[1], v.url = ka(d), (b = /xw_controller=stats.+>(.+)<\/a>/.exec(y[2])) ? (v.F = b[1], v.Qa = i) : (v.F = "", v.Qa = B), v.th(y[1]), v.G = Y(v.F, "p|" + v.l, v.sa, v.ka), v.Sa = B, (b = a.Mb(v)) ? 14 === a.k && n('Skipping ' + v.G + " - " + a.Qb(b, v)) : z.Kc(v));
                z.X()
            }
            a.Xc = 0;
            a.Vg = 0;
            a.Ef = l;
            d.Zm = function (a) {
                var b = /"id":"(.+)"/.exec(zb(a));
                b || (b = /xw_controller=clan&xw_action=view.+&id=([A-Za-z0-9+\/=%]+)/.exec(zb(a)));
                return b ? q(Ga(b[1])) : 0
            }
            d.zn = function () {
                var c, b, v;
                if (a.m) {
                    a.Xc = 0;
                    a.Vg = 0;
                    a.Ef = [];
                    c = $.trim(a.b.Ff).split("\n");
                    for (b = 0; b < c.length; b++)(v = a.Zm(c[b])) && a.An(v);
                    0 === a.Xc ? n(r('Problem With Family Links', 'Copy the links from a family page')) : 14 === a.k && a.r('Loading ' + a.Xc + ' Family Page' + (1 < a.Xc ? "s" : "") + '…')
                }
            }
            d.An = function (c) {
                if (a.m) {
                    var b = a.Xc;
                    a.Ef[b] = [];
                    a.Xc++;
                    A.H(D('xw_controller=clan&xw_action=view&from_red_link=1&id=' + ub(c.toString())), function (v) {
                        a.Bn(v, b, c)
                    })
                }
            }
            d.Bn = function (c, b, v) {
                if (a.J(c) && (a.M(c, 'Load Family') && (E.Ja(c), c = Rb(c.responseText, v), a.Ef[b] = c.Ak), a.Vg++, a.Vg >= a.Xc)) {
                    for (var d = [], c = 0; c < a.Vg; c++) d = d.concat(a.Ef[c]);
                    a.Ef = l;
                    v = new sa;
                    v.type = 12;
                    if (d.length) {
                        n('Found ' + d.length + ' Opponents');
                        for (c = 0; c < d.length; c++) v.l = d[c].l, v.F = d[c].F, v.Qa = d[c].Qa, v.url = ka(v.l), v.G = Y(v.F, "p|" + v.l), v.Sa = B, (b = a.Mb(v)) ? 14 === a.k && n('Skipping ' + v.G + " - " + a.Qb(b, v)) : z.Kc(v)
                    }
                    z.X();
                    a.yc()
                }
            }
            d.un = function () {
                a.m && (14 === a.k && a.r('Loading Family Battle Page…'), A.H(D('xw_controller=epicBattle&xw_action=view'), function (c) {
                    a.vn(c)
                }))
            }
            d.kj = function () {
                a.m && 1 > a.Jg && (a.Jg++, A.H(D('xw_controller=epicBattle&xw_action=attackFortress'), function (c) {
                    a.Pl(c)
                }))
            }
            d.Pl = function (c) {
                if (a.J(c) && a.M(c, 'Attack Fortress')) {
                    E.Ja(c);
                    var b = /<td class="message_body">(.+)<\/td>/.exec(c.responseText);
                    b ? n(x('Attack Fortress', Ea(b[1]))) : C(r('Attack Fortress', 'Unknown Response'));
                    a.Jg--;
                    a.b.Qc && -1 !== c.responseText.indexOf('xw_controller=epicBattle&xw_action=attackFortress') && a.kj()
                }
            }
            d.vn = function (c) {
                var b, v, d, e;
                if (a.J(c)) {
                    if (a.M(c, 'Load Battle')) {
                        E.Ja(c);
                        c = c.responseText;
                        v = new sa;
                        v.type = 11;
                        a.b.Qc && -1 !== c.indexOf('xw_controller=epicBattle&xw_action=attackFortress') && a.kj();
                        e = /<div class="fight_entry">.*[\r\n]+(.+)[\r\n]+(.+)\t{3}<br>[\r\n]+(.+)[\r\n]+(.+)[\r\n]+(.+)[\r\n]+(.+)/mg;
                        for (e.lastIndex = 0; b = e.exec(c);) if ((d = /&user=([^"]+).+selector="#inner_page">(.+)<\/a>/.exec(b[2])) && (!a.b.Nd || /btn_attack_p/.test(b[6]))) v.l = q(Ga(d[1]).substring(2)), v.F = d[2], v.Qa = B, v.url = ka(v.l), v.G = Y(v.F, "p|" + v.l), v.Sa = B, (b = a.Mb(v)) ? 14 === a.k && n('Skipping ' + v.G + " - " + a.Qb(b, v)) : z.Kc(v);
                        z.X()
                    }
                    a.yc()
                }
            }
            d.kr = function (a) {
                var b = zb(a);
                if ((a = /user":"p\|(.+)"/.exec(b)) || (a = /xw_controller=stats&xw_action=view.+user=p\|(\d+)/.exec(b))) return q(a[1]);
                if (a = /user":"(.+)"/.exec(b)) if (a = Ga(a[1])) return q(a.replace(/p\|/g, ""));
                if (a = /xw_controller=stats&xw_action=view.+user=(.+)/.exec(b)) if (a = Ga(a[1])) return q(a.replace(/p\|/g, ""));
                return (a = /p\|(\d+)/.exec(b)) ? q(a[1]) : 0
            }
            d.Rn = function () {
                if (a.m) {
                    var c = a.kr(a.b.vg);
                    c ? (14 === a.k && a.r('Loading Player Profile Page…'), A.H(D('xw_controller=stats&xw_action=view&user=p|' + c), function (c) {
                        a.Sn(c)
                    })) : n(r('Problem With Profile Link', 'Copy the link from a player profile page'))
                }
            }
            d.Sn = function (c) {
                var b;
                a.J(c) && (a.M(c, 'Load Player Profile') && (E.Ja(c), c = tb(c.responseText), c.l && !z.Gf(c.l) && (c.Sa = B, (b = a.Mb(c)) ? 14 === a.k && n('Skipping ' + c.G + " - " + a.Qb(b, c)) : (c.url = ka(c.l), c.type = 10, z.Kc(c))), z.X()), a.yc())
            }
            a.Rc = 0;
            a.Ng = 0;
            a.xf = l;
            d.xn = function () {
                if (a.m) {
                    a.Rc = 0;
                    a.Ng = 0;
                    a.xf = [];
                    var c, b = /bucket=([0-9a-zA-Z]+)/g;
                    for (b.lastIndex = 0; c = b.exec(a.b.Yf);) a.wn(c[1]);
                    14 === a.k && (0 === a.Rc ? n(r('Problem With Bucket Links', 'Copy the full links from <a href="http://mwlists.com" target="_blank">mwlists.com</a>')) : a.r('Loading ' + a.Rc + ' Bucket' + (1 < a.Rc ? "s" : "") + '…'))
                }
            }
            d.wn = function (c) {
                var b, v;
                a.m && (v = a.Rc, a.xf[v] = [], a.Rc++, b = a.b.we && a.b.ue ? {
                    url: 'http://mwlists.com/_api/_getlive.php',
                    dataType: 'jsonp',
                    callbackParameter: 'callback',
                    data: {
                        bucket: c,
                        authid: a.b.ue
                    },
                    success: function (b) {
                        a.kh(b, v, c)
                    },
                    error: function () {
                        a.kh(l, v, c)
                    },
                    timeout: 35E3
                } : {
                    url: 'http://mwlists.com/_api/_export.php',
                    dataType: 'jsonp',
                    callbackParameter: 'callback',
                    data: {
                        bucket: c
                    },
                    success: function (b) {
                        a.kh(b, v, c)
                    },
                    error: function () {
                        a.kh(l, v, c)
                    },
                    timeout: 35E3
                }, $.jsonp ? $.jsonp(b) : $.ajax(b))
            }
            d.kh = function (c, b, v) {
                var d, e, y;
                if (a.m) {
                    if (c) try {
                            if (c.error) 14 === a.k && n(r('Problem Loading Bucket', 'MWLists returned \'Error ' + c.error + "'"));
                            else if (c.length) for (d = 0; d < c.length; d++) c[d].mwid && (c[d].mwname && c[d].mwlevel) && a.xf[b].push({
                                        l: X(c[d].mwid),
                                        F: c[d].mwname,
                                        D: X(c[d].mwlevel)
                                    });
                            else 14 === a.k && n(r('Problem Loading Bucket ', 'Bucket ' + v + ' returned 0 opponents'))
                    } catch (f) {
                        14 === a.k && C(r('Problem Loading Bucket', f))
                    } else 14 === a.k && C(r('Problem Loading Bucket'));
                    a.Ng++;
                    if (a.Ng >= a.Rc) {
                        try {
                            c = [];
                            for (d = 0; d < a.Ng; d++) c = c.concat(a.xf[d]);
                            a.xf = l;
                            if (c.length) {
                                14 === a.k && n('Found ' + c.length + ' Opponents');
                                if (a.b.ve) {
                                    for (var b = c, j = b.length; j;) b.push(b.splice(q(Math.random() * j), 1)[0]), j--;
                                    14 === a.k && n('Randomized ' + c.length + ' Opponents')
                                }
                                e = new sa;
                                e.type = 6;
                                for (d = 0; d < c.length; d++) e.l = c[d].l, e.F = c[d].F, e.Qa = B, e.D = c[d].D, e.url = ka(e.l), e.G = Y(e.F, "p|" + e.l), e.Sa = B, (y = a.Mb(e)) ? 14 === a.k && n('Skipping ' + e.G + " - " + a.Qb(y, e)) : z.Kc(e)
                            }
                        } catch (k) {
                            14 === a.k && C(r('Problem Parsing Bucket', k))
                        }
                        z.X();
                        a.yc()
                    }
                }
            }
            d.$m = function () {
                var c, b, v;
                if (a.m) {
                    for (c = 0; c < ea.length; c++) b = ea.ea(c), z.Gf(b.l) || (b.xr(), b.type = 8, b.Sa = B, (v = a.Mb(b)) ? 14 === a.k && n('Skipping ' + b.G + " - " + a.Qb(v, b)) : z.El(b));
                    z.X()
                }
            }
            d.Cn = function () {
                a.m && (14 === a.k && a.r('Getting Favorite Opponents…'), a.$m(), a.yc())
            }
            d.oj = function () {
                return a.Sf ? B : 7 === a.b.o ? i : 14 === a.k ? aa() >= a.mh + 3 : 4 === a.b.o ? B : aa() >= a.mh + 10
            }
            d.gk = function () {
                a.Sf = i;
                a.mh = aa();
                0 === a.b.o ? a.Dn() : 6 === a.b.o ? a.On() : 1 === a.b.o ? a.Fn() : 2 === a.b.o ? a.zn() : 3 === a.b.o ? a.un() : 4 === a.b.o ? a.Rn() : 5 === a.b.o ? a.xn() : 7 === a.b.o && a.Cn()
            }
            d.yc = function () {
                a.Sf && (a.Sf = B, 14 === a.k ? (ra(x('Load Opponents Done', qa('Process State Called'))), a.k = a.L, a.v()) : ra(x('Load Opponents Done', qa('Process State Skipped'))));
            }
            d.Nc = function (c) {
                var b, v = c.ce;
                b = v ? Ya(kb + "/" + c.Yj) : Ya(kb + "/" + c.url.replace(/&use_boost=\d/, "")) + '&use_boost=' + (a.b.of ? "1" : "0");
                var d = -1 !== b.indexOf('view_style=json');
                a.Lb++;
                c.Lb++;
                c.de && (c.Kf = i, 2 === c.type && z.Fl(c.l));
                A.H(b, function (b) {
                    a.Ol(b, c, d, v)
                })
            }
            d.Xm = function () {
                var a, b, d;
                b = H.index;
                for (a = 0; a < H.length; a++) if (d = H.ea(b), b = (b + 1) % H.length, d.l && !d.zb && d.La) if (z.Lj(d)) C(r('Find Opponent', 'Opponent is already active'));
                        else return H.index = b, d;
                return l
            }
            d.cn = function () {
                var a, b, d;
                b = U.index;
                for (a = 0; a < U.length; a++) if (d = U.ea(b), b = (b + 1) % U.length, (!d.Fa || d.ce) && !d.Kf) return U.index = b, d;
                return l
            }
            d.Nr = function () {
                var c, b;
                for (c = 0; c < U.length; c++) if (b = U.ea(c), !b.Fa) {
                        1 === U.length ? a.r(H.length + ' Opponents - Attacking ' + b.G + '…') : 2 === U.length ? a.r(H.length + ' Opponents - Attacking ' + b.G + ' and 1 other…') : a.r(H.length + ' Opponents - Attacking ' + b.G + ' and ' + (U.length - 1) + ' others…');
                        break
                    }
            }
            d.Kj = function (c) {
                z.rr(c);
                z.si(c.l) ? z.Ti(c) : 10 === c.type || 11 === c.type || 12 === c.type || 13 === c.type ? (c.Fa = B, c.zb = B, c.ad = B, c.de = i, z.Jb(c), 10 === c.type && (a.Bd = i)) : z.Ti(c)
            }
            d.Jj = function () {
                var c, b;
                if (a.m && !a.Bd) {
                    for (c = 0; c < U.length; c++) b = U.ea(c), b.Fa && !b.ce && b.nb === b.Lb && a.Kj(b);
                    if (!a.Bd) {
                        for (; U.length < a.b.hd;) if (b = a.Xm()) z.Al(b);
                            else break;
                        if (!a.pk() && !a.$f() && !a.md()) for (a.$f() && (a.sf() && !a.qb && !a.oc) && a.Zg(a.b.qc); a.Lb - a.uf < Math.min(a.b.ga, 3);) if (b = a.cn()) a.Nc(b);
                                else break;
                        a.Nr()
                    }
                }
            }
            d.dr = function (c, b, d) {
                var e, Pa, y, f, k;
                if (!c) return b.Ia ? i : 0 === a.b.o ? B : i;
                b.ie = b.I;
                b.I = q(c.defender.current_health_pct);
                b.$g = -1 !== b.ie && b.I >= b.ie + 20;
                b.zc = c.defender.mafia_size;
                T.Ph(c.loot);
                T.Ph(c.socialMessageCards);
                e = c.isWin ? i : B;
                Pa = c.ice_was_just_stolen ? i : B;
                y = e ? x("Won") : r('Lost');
                y += ' <span style="display:inline-block;white-space:nowrap;">' + b.G + '</span> <span class="health" style="color:red;">-' + m(c.defender.damage_dealt) + '</span> ' + qa("(" + m(b.I) + '% remaining)') + " ";
                b.Ai = c.defender.damage_dealt;
                y += '<span class="experience">' + m(c.experience) + '</span> ';
                c.cash && (c.cash_class && c.cash_city) && (y = 0 <= c.cash ? y + ('<span class="' + c.cash_class + '_cash_icon">' + mb[c.cash_city] + m(c.cash) + '</span> ') : y + ('<span class="' + c.cash_class + '_cash_icon bad">-' + mb[c.cash_city] + m(-c.cash) + '</span> '));
                Pa && !b.dh ? (k = new sa, k.type = 4, k.F = c.thief_name.replace(/<span style="color:red">.+<\/span> /, ""), k.l = q(c.thief_id.substring(2)), k.url = ka(k.l), k.th(c.thief_profile), k.G = Y(k.F, "p|" + k.l, k.sa, k.ka), b.dh = i) : k = l;
                if (c.attacker.boost_used_tag && (f = /<img src=".+(\/graphics\/[^"]+)" alt="([^"]+)"/.exec(c.attacker.boost_used_tag))) y += ' <img src="' + M + f[1] + '" style="width:18px;height:18px;"/><img src="' + M + '/graphics/icon_boost_14x14_01.gif" alt="' + f[2] + '" title="' + f[2] + '" style="width:7px;height:7px;padding-bottom:11px;padding-left:11px;margin-left:-18px;"/>';
                c.you_just_killed ? y += '<a href="#0" onclick="' + c.feed_js + '">You Killed!</a> ' + qa("(" + m(c.total_ice_count) + ")") : c.you_just_iced ? y += '<a href="#0" onclick="' + c.feed_js + '">You Iced!</a> ' + qa("(" + m(c.total_ice_count) + ")") : k ? y += 'Ice Stolen! ' + k.G : c.defender.iced_self ? y += 'Iced Themself' : c.defender.is_iced && (y += 'Already Iced');
                c.hit_throttle && (y += ' Bully Throttle Triggered!');
                c.show_ice_season && (c.ices_so_far && c.ices_target) && (a.n.vi = 'Ice Target: ' + m(c.ices_so_far) + "/" + m(c.ices_target));
                if (c.defender.you_iced || c.defender.is_iced) b.ad = i;
                if (c.attacker.boost_used_tag || c.defender.boost_used_tag) b.$h = i;
                e ? (a.n.Cb += d ? 15 * a.b.Ab : 1, b.Cb += d ? 15 * a.b.Ab : 1) : (a.n.jc += d ? 15 * a.b.Ab : 1, b.jc += d ? 15 * a.b.Ab : 1);
                b.bh += d ? 15 * a.b.Ab : 1;
                c.total_ice_count && (j.ya = c.total_ice_count, W.ya || (W.ya = j.ya));
                a.n.Nb += c.defender.damage_dealt;
                a.n.Sg += c.attacker.damage_dealt;
                a.K();
                n(y);
                e || a.b.yd && (z.si(b.l) || z.Dg(b, 1));
                if (c.feed_js) {
                    if (d = a.Kr(c.feed_js, c.you_just_killed, c.hit_throttle)) c.you_just_killed ? a.n.ih++ : (a.n.bb++, 6 === a.n.bb && D$.log()), c.hit_throttle && L.Zn(d), L.log(d);
                    a.K()
                }
                k && (L.bo(j.F + ' attacked ' + b.G + ', but the ice was stolen by ' + k.G + "."), a.n.pl++, a.b.Jd && !z.Gf(k.l) && (k.Sa = B, (b = a.Mb(k)) ? n('Skipping ' + k.G + " - " + a.Qb(b, k)) : (z.Kc(k), z.X())));
                return !e && a.b.yd || Pa || c.defender.is_iced || c.defender.you_iced ? B : i
            }
            d.Jr = function (a) {
                var b = /(.+)<a.+user=([^"]+)".+ return false; " >(.+)<\/a>(.+)$/.exec(a);
                b && (a = b[1] + Y(b[3], Ga(b[2])) + b[4]);
                return a
            }
            d.Kr = function (a, b, d) {
                var e = /description:'(.+)', userMessage/.exec(a);
                if (e) e = e[1].replace(/ (Need to whack|Think you can|Need help icing|Test your mettle|Get a free fight boost to) [^\.]+\./g, "").replace(/\\\'/g, "'");
                else return "";
                d && (e += ' Bully Throttle Triggered!');
                a = a.replace(/zy_track[^']+next_params/g, 'next_params');
                a = a.replace(/callback:.+autoPublish/, 'autoPublish');
                return '<a href="#0" class="' + (b ? 'killed' : 'iced') + '" onclick="' + a + '">' + e + '</a>'
            }
            d.Ol = function (c, b, d, e) {
                var Pa = B;
                if (a.J(c)) {
                    if (a.M(c, 'Problem Fighting Opponent')) {
                        var y = i,
                            f;
                        a.uf++;
                        b.nb++;
                        b.Kf = B;
                        var k = b.nb === b.Lb ? i : B;
                        if (e) {
                            b.de = B;
                            if (-1 !== c.responseText.indexOf('This player is currently part of your mafia')) n(b.G + ' is in your mafia'), z.Dg(b, 2);
                            else {
                                (f = /You <strong>(WON|LOST)<\/strong> the fight, taking <strong>(\d+) damage<\/strong> and dealing <strong> (\d+) damage<\/strong> to your enemy\. {2}You gained (.+) and (.+) experience/.exec(c.responseText)) && ("WON" == f[1] ? n(x('Hitlist Won', b.G + ' <span class="health">' + f[3] + '</span> ' + f[4] + ' <span class="experience">' + f[5] + '</span>')) : n(r('Hitlist Lost', b.G + ' <span class="health">' + f[3] + '</span> ' + f[4] + ' <span class="experience">' + f[5] + '</span>'))); if (f = /(You knocked out .+ and earned [^!]+!)/.exec(c.responseText)) f = a.Jr(f[1]), n(f), L.Yn(f);
                                (f = /(Sorry, someone else took out .+ before you got the chance!)/.exec(c.responseText)) && n(f[1])
                            }
                            b.ce = B;
                            B || (b.Fa = i);
                            b.La || (b.Fa = i);
                            k && b.Fa && a.Kj(b);
                            H.length <= a.b.hd && a.yk(c.responseText)
                        } else {
                            k = l;
                            if (d) try {
                                    f = J(c.responseText), E.jb(f), k = f.fight_result
                            } catch (m) {
                                k = l
                            } else if (E.Ja(c, i), /FightTop/.test(c.responseText) && !/fightV2OuterWrapper/.test(c.responseText)) y = B;
                            else {
                                k = Qa(c.responseText, 'msg.fight_result = ', ';FightV2.attack');
                                if (f = /need to remove .+ return false; " >(.+)<\/a> from your mafia/.exec(c.responseText)) b.F = f[1], b.Qa = i, b.G = Y(b.F, "p|" + b.l, b.sa, b.ka), b.Sa = B, Pa = i;
                                if (5 === b.type) {
                                    if (f = /\t{5}(.+)\t{4}.+[\r\n]+\t+<div>Level (\d+) ([^<]*).+[\r\n]+.+[\r\n]+.+"defense (good|bad)".+[\r\n]+.+<span class="group_defense (good|bad)[^>]+>([^<]+)</m.exec(c.responseText)) {
                                        b.D = X(f[2]);
                                        f[3] && f[3].length && (b.te = f[3]);
                                        b.Tg = 'good' == f[4] ? i : B;
                                        b.xj = 'good' == f[5] ? i : B;
                                        b.Aa = X(f[6]);
                                        b.Tg ? b.zj = j.ib : b.yj = j.ib;
                                        if (!b.F || "." !== f[1].charAt(f[1].length - 1)) b.F = f[1], b.Qa = "." !== f[1].charAt(f[1].length - 1) ? i : B;
                                        b.G = b.F;
                                        b.Sa = B
                                    }
                                } else if (f = /(<a href=.+)[\r\n]+\t+<div>Level (\d+) ([^<]*).+[\r\n]+.+[\r\n]+.+"defense (good|bad)".+[\r\n]+.+<span class="group_defense (good|bad)[^>]+>([^<]+)</m.exec(c.responseText)) {
                                    b.D = X(f[2]);
                                    f[3] && f[3].length && (b.te = f[3]);
                                    b.Tg = 'good' == f[4] ? i : B;
                                    b.xj = 'good' == f[5] ? i : B;
                                    b.Aa = X(f[6]);
                                    b.Tg ? b.zj = j.ib : b.yj = j.ib;
                                    b.th(f[1]);
                                    if ((f = /&user=([^"]+).+selector="#inner_page">(.+)<\/a>/.exec(f[1])) && (!b.F || "." !== f[2].charAt(f[2].length - 1))) b.F = f[2], b.Qa = "." !== f[2].charAt(f[2].length - 1) ? i : B;
                                    if (f = /<div id="defender_pic" .+[\r\n\t]+<img src=".+\d+_(\d+)_\d+/.exec(c.responseText)) b.ma = q(f[1]);
                                    b.G = Y(b.F, "p|" + b.l, b.sa, b.ka);
                                    b.Sa = B;
                                    if (0 > a.b.tc && (b.ad = i, b.Fa = i, (f = /<div id="defender_boost_used_tag">(.*[\r\n]+.*)<\/div>/m.exec(c.responseText)) && f[1].replace(/[\r\n\t]/g, ""))) b.$h = i
                                }(f = ab(c.responseText, /<div id="defender_fight_status">.*<\/div>/, /^\t\t<\/div>/m)) && b.Mi(f);
                                if (!k && (f = /defender_hp = (\d+);/.exec(c.responseText))) b.ie = b.I, b.I = q(f[1]), b.I || (b.ad = i, b.Fa = i, Ia.log(b.G + ' Already Iced'));
                                Pa && (n(b.G + ' is in your mafia'), z.Dg(b, 2), y = B);
                                if (!b.Ia && (!b.ad && k) && (f = /'(remote\/html_server\.php\?xw_controller=fight&xw_action=power_js_attack[^']+)'/.exec(c.responseText))) b.url = f[1].replace(/click_amt=1/, 'click_amt=' + (100 + a.b.Ab)), b.Ia = i
                            }
                            k && (b.de = B);
                            y && !b.Fa && (y = a.dr(k, b, d));
                            z.Jb(b);
                            y || (b.Fa = i);
                            if (Pa = a.Mb(b, i, b.Fa ? i : B)) n('Skipping ' + b.G + " - " + a.Qb(Pa, b)), b.Fa = i;
                            b.Fa && (b.ad && 9 === b.type) && (b.ce = i);
                            20 >= H.length && (!d && k) && (0 === a.b.o ? a.xk(c.responseText) : 6 === a.b.o && a.zk(c.responseText));
                            H.length <= a.b.hd && a.oj() && a.gk()
                        }
                    } else a.uf++, b.nb++;
                    a.Jj();
                    a.uf >= a.Lb && (a.k = 2, a.v())
                }
            }
            d.fs = wa();
            d.sj = function (c) {
                if (0 === c) {
                    if (!a.b.jf || a.b.Ib && 0 === a.b.Zb) return B;
                    if (0 < j.Si) return n(r('Power Pack Not Available', 'Stamina Pack Available in [' + gb(j.Si) + "]")), B
                } else {
                    if (!a.b.$d || !a.qb || a.oc) return B;
                    if (0 < j.Ri) return n(r('Power Pack Not Available', 'Health Pack Available in [' + gb(j.Ri) + "]")), B
                }
                return 0 >= j.Dk ? (n(r('Power Pack Not Available', 'You don\'t have any Power Packs')), B) : i
            }
            d.xl = function (c) {
                a.m && (a.r('Using Power Pack…'), A.H(D('xw_controller=module&xw_action=usePowerPack&responseType=hospital&packType=' + c), function (c) {
                    a.Rr(c)
                }))
            }
            d.Rr = function (c) {
                a.J(c) && (a.M(c, 'Use Power Pack'), a.k = 1, a.v())
            }
            d.Zl = function () {
                return !a.b.hf || a.b.Ib && 0 === a.b.Zb || j.Wg < a.b.ng ? B : j.Wg < j.aj ? (n(r('Stamina Refill', 'You don\'t have enough reward points (have ' + j.Wg + ' need ' + j.aj + ")")), B) : i
            }
            d.Vl = function () {
                a.m && (a.r('Buying Stamina Refill…'), A.H(D('xw_controller=marketplace&xw_action=impulseBuy&favor_type=1&favor_id=2&page=impulse_buy_fight'), function (c) {
                    a.Wl(c)
                }))
            }
            d.Wl = function (c) {
                a.J(c) && (a.M(c, 'Buy Stamina Refill'), a.k = 1, a.v())
            }
            d.Zg = function (c) {
                a.m && (a.oc = i, 16 === a.k && a.r('Healing…'), A.H(D('xw_controller=hospital&xw_action=heal' + (c ? '&xcity=' + c : ""), c), function (c) {
                    a.jn(c)
                }, h, 1))
            }
            d.jn = function (c) {
                var b, d, e;
                if (a.J(c)) {
                    e = B;
                    if (a.M(c, 'Heal')) try {
                            if (b = J(c.responseText)) E.jb(b), b.hospital_message && (d = Math.max(q(b.waitHealTimer), 0), b.hospital_message && 0 < d && n(b.hospital_message + " " + qa('Heal available in ' + va(d) + ".")), d && (a.rc = d), a.qb || a.gj()), e = i
                    } catch (f) {
                        C(r('Heal', f))
                    }
                    a.oc = B;
                    16 === a.k ? (e || (a.k = 1), a.v()) : ra('State is ' + a.k)
                }
            }
            d.gj = function () {
                if (a.m) if (a.qb = B, 0 < a.rc) a.Sb.html('(Ready in ' + va(a.rc) + ")"), E.Sb.html('(Heal in ' + a.rc + "s)"), I(function () {
                            a.qb = B;
                            a.rc--;
                            a.gj()
                        }, 1E3), a.qb = i, 16 === a.k && (a.r('Healing in ' + va(a.rc) + '…'), a.v());
                    else {
                        if (a.Sb.html('(Ready)'), E.Sb.html('(Heal ready)'), a.b.pc || a.$f() || 16 === a.k) a.oc ? (I(function () {
                                a.qb = B;
                                a.rc--;
                                a.gj()
                            }, 1E3), a.qb = i) : a.sf() && j.I < j.Gb ? a.Zg(a.b.qc) : 16 === a.k ? a.v() : ra('State is ' + a.k)
                    } else a.Sb.html(""), E.Sb.html("")
            }
            d.$f = function () {
                return a.b.Yc && j.I < a.b.tc || 20 > j.I && 0 <= a.b.tc ? i : B
            }
            d.sf = function () {
                return !a.b.Ib || 1 !== a.b.Zb || j.w >= a.b.$b ? i : B
            }
            d.pk = function () {
                return a.b.Ib && 0 === a.b.Zb && j.w < a.b.$b || 5 > j.w
            }
            d.md = function () {
                return 0 !== a.b.Pb && a.b.Pb !== j.Da
            }
            d.bs = function () {
                return B
            }
            d.Wr = wa();
            d.Ur = wa();
            d.Vr = wa();
            d.wf = function () {
                if (ca.m && !ca.Q && ca.P.z > a.P.z) return ca;
                if (ba.m && !ba.Q) {
                    if (ba.P.z > a.P.z) return ba;
                    if (ba.Vj()) return ba.lc(), ba
                }
                return oa.m && !oa.Q && oa.P.z > a.P.z ? oa : l
            }
            d.v = function () {
                a.Q = B;
                if (1 === a.k) a.L = 2, a.ac();
                else if (2 === a.k) if (a.fj(), a.b.pc && (!a.qb && !a.oc && a.sf()) && a.Zg(a.b.qc), a.$f())(a.b.Yc || a.b.pc) && a.sf() ? (n(r('Need more <span class="health"/>Health')), a.sj(1) ? a.xl(1) : (a.k = 16, a.v())) : (a.Q = i, a.r('Waiting for more <span class="health"/>Health…'), I(function () {
                            a.m && a.v()
                        }, 1E3));
                    else if (a.pk()) a.sj(0) ? (n(r('Need more <span class="stamina"/>Stamina')), a.xl(0)) : a.Zl() ? (n(r('Need more <span class="stamina"/>Stamina')), a.Vl()) : (a.b.Ib && 0 === a.b.Zb && 0 < a.b.$b && j.w < a.b.$b ? (a.Q = i, a.r('Waiting for <span class="stamina">' + m(a.b.$b) + '</span> Stamina…')) : (a.Q = i, a.r('Waiting for more <span class="stamina"/>Stamina…')), I(function () {
                        a.m && a.v()
                    }, 1E3));
                else if (a.md()) {
                    var c = a.wf();
                    c ? (a.Q = i, a.r('Waiting for ' + c.Ca + ' to finish before traveling to ' + ha[a.b.Pb] + '…', 10 + a.b.Pb), I(function () {
                        a.m && a.v()
                    }, 1E3)) : (a.L = 2, a.wg(a.b.Pb, B))
                } else 0 >= H.length ? (n(r('Need more Opponents')), a.k = 14) : a.Bd && a.b.Ad ? (n('Pausing ' + va(a.b.Ad)), a.Bd = B, a.k = 22, a.Ag = a.b.Ad, a.L = 1) : (a.Bd = B, a.k = 15), a.v();
                else 14 === a.k ? a.oj() ? (a.L = 2, a.gk()) : I(function () {
                        a.v()
                    }, 1E3) : 15 === a.k ? (a.L = 2, a.Jj()) : 16 === a.k ? a.$f() && a.sf() ? !a.qb && !a.oc && a.Zg(a.b.qc) : (a.k = 2, a.v()) : 22 === a.k ? a.Qi(function () {
                        a.m && (a.k = a.L, a.v())
                    }, a.Ag) : 23 === a.k && a.Ta()
            }
            a.Z();
            a.S();
            a.P.A && a.A(function () {
                a.ja()
            }, 10)
        }

        function Sb(e, b) {
            var a = this,
                d = Sb.prototype;
            Sa = a;
            F(d, G.prototype);
            a.cb(e, b);
            a.P = K.q[4];
            a.P.g = a;
            d.ob = {
                "0": 'Any Boss',
                9: 'Daniella Deuce',
                10: 'Mick Gouda',
                11: 'Kassina Kunoichi'
            };
            d.Om = {
                1: 'Bruiser',
                2: 'Arsonist',
                3: 'Racketeer'
            };
            d.Dm = ["", 'Bruiser Boost (Increases Damage)', 'Arsonist Boost (Reduces Rage)', 'Racketeer Boost (Reduces Fatigue)'];
            a.u = {};
            a.Ob = 0;
            a.Bf = l;
            a.Ug = l;
            a.Vc = l;
            a.la = 0;
            a.Cf = 0;
            a.Wd = B;
            a.xa = l;
            a.xb = i;
            a.wa = l;
            a.n = {
                Nb: 0,
                Ba: 0
            };
            a.nj = i;
            a.Mg = l;
            d.Kk = function () {
                a.u.I = 0;
                a.u.yh = 0;
                a.u.ai = "";
                a.u.Qk = 0;
                a.u.ri = 0;
                a.u.og = 0;
                a.u.Ma = 0;
                a.u.T = [];
                a.u.T[3] = {};
                a.u.T[3].count = 0;
                a.u.T[2] = {};
                a.u.T[2].count = 0;
                a.u.T[1] = {};
                a.u.T[1].count = 0
            }
            d.ja = function () {
                a.m || (a.Kk(), a.la = 0, a.Ob = 0, a.Bf = l, a.Ug = l, a.Vc = l, a.Cf = 0, a.Wd = B, a.xa === l && (a.xa = setInterval(function () {
                    a.n.Ba++;
                    a.K()
                }, 1E3)), a.sd());
                return B
            }
            d.ua = function () {
                clearInterval(a.xa);
                a.xa = l;
                a.Ta();
                return B
            }
            d.p = function () {
                s('e188e1' + b, a.b.Ud);
                s('e189e1' + b, a.b.Sd);
                s('e190e1' + b, a.b.Td);
                s('e191e1' + b, a.b.Vd);
                s('e192e1' + b, a.b.Ra);
                s('e193e1' + b, a.b.qe);
                s('e194e1' + b, a.b.re)
            }
            d.Ho = function (c) {
                a.b.la = w(c);
                a.j();
                return i
            }
            d.Jo = function (c) {
                a.b.Df = w(c);
                a.j();
                return i
            }
            d.Io = function (c) {
                a.b.Vd = k(c);
                a.p();
                a.j();
                return i
            }
            d.pd = function (c) {
                a.b.ga = w(c, 1, 5);
                a.j();
                return i
            }
            d.Cp = function (c) {
                a.b.Ra = k(c);
                a.p();
                a.j();
                return i
            }
            d.Dp = function (c) {
                a.b.Wf = w(c, 5);
                a.j();
                return i
            }
            d.yp = function (c) {
                a.b.qe = k(c);
                a.p();
                a.j();
                return i
            }
            d.zp = function (c) {
                a.b.Vf = w(c);
                a.j();
                return i
            }
            d.Ap = function (c) {
                a.b.re = k(c);
                a.p();
                a.j();
                return i
            }
            d.Bp = function (c) {
                a.b.se = w(c);
                a.j();
                return i
            }
            d.Go = function (c) {
                a.b.Ud = k(c);
                a.p();
                a.j();
                return i
            }
            d.Eo = function (c) {
                a.b.Sd = k(c);
                a.p();
                a.j();
                return i
            }
            d.Fo = function (c) {
                a.b.Td = k(c);
                a.p();
                a.j();
                return i
            }
            d.ia = function () {
                a.b = {};
                a.b.la = 0;
                a.b.Df = 3;
                a.b.Vd = i;
                a.b.Ud = i;
                a.b.Sd = i;
                a.b.Td = i;
                a.b.ga = 1;
                a.b.Ra = B;
                a.b.Wf = 5;
                a.b.qe = B;
                a.b.Vf = 1E3;
                a.b.re = B;
                a.b.se = 0
            }
            d.j = function () {
                var c = {};
                c.epic_boss_id = a.b.la;
                c.epic_role = a.b.Df;
                c.epic_help_friends = a.b.Vd;
                c.epic_ask_racketeer = a.b.Ud;
                c.epic_ask_arsonist = a.b.Sd;
                c.epic_ask_bruiser = a.b.Td;
                c.max_threads = a.b.ga;
                c.max_stamina = a.b.Ra;
                c.max_stamina_value = a.b.Wf;
                c.max_rage = a.b.qe;
                c.max_rage_value = a.b.Vf;
                c.max_score = a.b.re;
                c.max_score_value = a.b.se;
                ta(b, c)
            }
            d.S = function () {
                a.ia();
                try {
                    var c = {}, g = ua(b);
                    c.la = g.epic_boss_id;
                    c.Df = g.epic_role;
                    c.Vd = g.epic_help_friends;
                    c.Ud = g.epic_ask_racketeer;
                    c.Sd = g.epic_ask_arsonist;
                    c.Td = g.epic_ask_bruiser;
                    c.ga = g.max_threads;
                    c.Ra = g.max_stamina;
                    c.Wf = g.max_stamina_value;
                    c.qe = g.max_rage;
                    c.Vf = g.max_rage_value;
                    c.re = g.max_score;
                    c.se = g.max_score_value;
                    F(a.b, c)
                } catch (d) {}
                t('e195' + b, a.b.la);
                t('e196' + b, a.b.Df);
                p('e191' + b, a.b.Vd);
                p('e188' + b, a.b.Ud);
                p('e189' + b, a.b.Sd);
                p('e190' + b, a.b.Td);
                t("e88" + b, a.b.ga);
                p('e192' + b, a.b.Ra);
                t('e197' + b, a.b.Wf);
                p('e193' + b, a.b.qe);
                t('e198' + b, a.b.Vf);
                p('e194' + b, a.b.re);
                t('e199' + b, a.b.se);
                a.p()
            }
            d.U = function () {
                a.K()
            }
            d.Z = function () {
                pa(a, R('Options', "e90", O('Family Bosses', 'e200', '<div style="float:left;width:280px;">Join fights with ' + xa('e195', a.ob) + '<br/>Join fights as ' + xa('e196', a.Om) + '<br/>' + o('Ask for Racketeer Boosts', 'e188') + o('Ask for Arsonist Boosts', 'e189') + o('Ask for Bruiser Boosts', 'e190') + o('Send Boosts to friends', 'e191') + '</div><div style="float:left;">' + o('Stop attacking when cost is above ', 'e192', h, '<span class="stamina"/><input type="text" style="width:30px;" id="e197%ID%"/> stamina') + o('Stop attacking when rage is above ', 'e193', h, '<input type="text" style="width:30px;" id="e198%ID%"/>') + o('Stop attacking when score is above ', 'e194', h, '<input type="text" style="width:30px;" id="e199%ID%"/>') + N + 'Attack up to <input type="text" style="width:20px;" id="e88%ID%"/> times per second<br/></div><div style="clear:both;"/>')) + R('Boss', 'e201') + R('Stats', "e93") + '<div style="padding:10px;">' + Ta + Ua + Va + Wa + '</div>', 1, function () {
                    a.U()
                });
                f('#e90e0' + b, function () {
                    ga("e90" + b);
                    return B
                });
                f('#e93e0' + b, function () {
                    a.xb = ga("e93" + b);
                    a.K();
                    return B
                });
                f('#e201e0' + b, function () {
                    a.nj = ga('e201' + b);
                    a.K();
                    return B
                });
                f("#e4" + b, function () {
                    return a.ja()
                });
                f("#e6" + b, function () {
                    return a.ua()
                });
                f("#e7" + b, function () {
                    a.od();
                    return B
                });
                u('#e195' + b, function () {
                    return a.Ho(this)
                });
                u('#e196' + b, function () {
                    return a.Jo(this)
                });
                f('#e191' + b, function () {
                    return a.Io(this)
                });
                f('#e188' + b, function () {
                    return a.Go(this)
                });
                f('#e189' + b, function () {
                    return a.Eo(this)
                });
                f('#e190' + b, function () {
                    return a.Fo(this)
                });
                u('#e88' + b, function () {
                    return a.pd(this)
                });
                f('#e192' + b, function () {
                    return a.Cp(this)
                });
                u('#e197' + b, function () {
                    return a.Dp(this)
                });
                f('#e193' + b, function () {
                    return a.yp(this)
                });
                u('#e198' + b, function () {
                    return a.zp(this)
                });
                f('#e194' + b, function () {
                    return a.Ap(this)
                });
                u('#e199' + b, function () {
                    return a.Bp(this)
                });
                a.Yb()
            }
            d.K = function () {
                var c;
                Z() && a.Y && (a.nj && (a.Mg || (a.Mg = $('#e201' + b)), a.Mg && (c = "", a.u.I && (c += a.u.ai + ' <span class="health">' + m(a.u.I) + '</span> | Rage: ' + m(a.u.yh) + ' | Fatigue: ' + m(a.u.ri) + '/<span class="stamina">' + m(a.u.og) + '</span> | Score: ' + m(a.u.Ma) + '<br/>', c += 'Racketeer: ' + a.u.T[3].count + (a.u.T[3].kb ? "" : Aa(' [asked]')), c += ' | Arsonist: ' + a.u.T[2].count + (a.u.T[2].kb ? "" : Aa(' [asked]')), c += ' | Bruiser: ' + a.u.T[1].count + (a.u.T[1].kb ? "" : Aa(' [asked]')) + '<br/>', c += 'Boosts available to send: ' + a.u.bi + "/5"), a.Mg.html(c))), a.xb && (a.wa || (a.wa = $('#e93' + b)), a.wa && (c = "", a.n.Ba && (c += 'Damage Done: ' + m(a.n.Nb) + " " + Aa("[" + m(q(a.n.Nb / a.n.Ba)) + '/second]') + ' | Running for: ' + va(a.n.Ba)), a.wa.html(c))), L.ra())
            }
            d.qk = function () {
                a.la = 0;
                a.k = 1
            }
            d.ni = function () {
                a.Cf++;
                A.H(D('xw_controller=Epicclanboss&xw_action=epic_attack&consumable_id=0&boss_id=' + a.la), function (c) {
                    a.Gm(c)
                })
            }
            d.Gm = function (c) {
                var b, d;
                if (a.J(c)) if (200 === c.status) {
                        a.Cf--;
                        try {
                            if (b = J(c.responseText), d = J(b.data), d.message.success) {
                                if (a.u.I = Math.min(a.u.I, d.bossHealth), a.u.yh = d.bossRage, a.u.ri = d.userFatigue, a.u.Ma = d.userScore, a.u.og = d.staminaRequired, a.u.bi = d.currentCharges, a.u.T[3].count = d.pendingRollEffects[3].count, a.u.T[2].count = d.pendingRollEffects[2].count, a.u.T[1].count = d.pendingRollEffects[1].count, a.u.T[3].kb = d.askDisplay[3], a.u.T[2].kb = d.askDisplay[2], a.u.T[1].kb = d.askDisplay[1], a.n.Nb += d.damage.toBoss, a.K(), 0 !== a.ci(d.leaderboard ? d.leaderboard.entries : l)) a.Wd = i
                            } else 'The fight is over.' === d.message || 'The boss is dead.' === d.message ? (a.Wd = i, a.la && (n(x('Epic Boss', d.message)), a.qk())) : (C(r('Epic Boss', d.message)), 0 !== a.ci() && (a.Wd = i))
                        } catch (e) {
                            C(r('Epic Boss', 'Problem Hitting Boss - ' + e))
                        }
                        a.Wd ? 0 >= a.Cf && a.v() : a.ni()
                    } else a.Cf--, a.ni()
            }
            d.Mm = function () {
                A.H(D('xw_controller=Epicclanboss&xw_action=epic_send_role&cell_id=0&role_id=' + a.u.Qk + '&boss_id=' + a.la + '&target_ppid=' + a.Bf), function (c) {
                    a.Nm(c)
                })
            }
            d.Nm = function (c) {
                var b, d;
                if (a.J(c)) {
                    if (a.M(c, 'Send Boost')) try {
                            b = J(c.responseText), d = J(b.data), E.jb(b), d.message && d.message.success ? n(x('Send Boost', 'Sent boost to ' + a.Vc)) : (n(r('Send Boost', 'Problem sending boost to ' + a.Vc + " - " + d.message.message)), 'This fight is over!' == d.message.message && (a.la = 0))
                    } catch (e) {
                        C(r('Send Boost', 'Problem sending boost to ' + a.Vc + " - " + e))
                    }
                    a.Bf = l;
                    a.Ug = l;
                    a.Vc = l;
                    a.Uc()
                }
            }
            d.Em = function () {
                A.H(D('xw_controller=Epicclanboss&xw_action=epic_ask_role&role_id=' + a.Ob + '&boss_id=' + a.la), function (c) {
                    a.Fm(c)
                })
            }
            d.Fm = function (c) {
                var b;
                if (a.J(c)) {
                    if (a.M(c, 'Ask For Boosts')) try {
                            b = J(c.responseText), b.data && b.data.impulseBuy && b.data.impulseBuy.message ? (n(x('Ask For Boosts', Ea(b.data.impulseBuy.message))), a.Ob = 0) : C(r('Ask For Boosts', 'Problem Asking For Boosts'))
                    } catch (d) {
                        C(r('Ask For Boosts', d))
                    }
                    a.Uc()
                }
            }
            d.Ej = function (c) {
                A.H(D('xw_controller=Epicclanboss&xw_action=epic_collect&boss_id=' + c), function (b) {
                    a.Hm(b, c)
                })
            }
            d.Hm = function (c, b) {
                if (a.J(c)) if (a.M(c, 'Collected Boss')) {
                        n(x('Collected Boss', 'Collected Boss ' + (a.ob[b] ? a.ob[b] : b)));
                        var d, e = /item_id="(\d+)"/g;
                        for (e.lastIndex = 0; d = e.exec(c.responseText);) T.bc(q(d[1]));
                        a.v()
                    } else a.Ej(b)
            }
            d.Fj = function (c) {
                A.H(D('xw_controller=Epicclanboss&xw_action=epic_join&role=' + ["", 'bruiser', 'arsonist', 'racketeer'][a.b.Df] + '&boss_id=' + c), function (b) {
                    a.Jm(b, c)
                })
            }
            d.Jm = function (c, b) {
                a.J(c) && (a.M(c, 'Join Boss') ? (n(x('Join Boss', 'Joined Boss ' + (a.ob[b] ? a.ob[b] : b))), a.la = b, a.Uc()) : a.Fj(b))
            }
            d.Uc = function () {
                A.H(D('xw_controller=Epicclanboss&xw_action=boss_view&boss_id=' + a.la), function (c) {
                    a.Lm(c)
                })
            }
            d.Lm = function (c) {
                var b;
                if (a.J(c)) if (a.M(c, 'Load Boss')) {
                        E.Ja(c);
                        a.Kk();
                        if (b = Qa(c.responseText, 'var userData = ', /;[\r\n]+/)) a.u.og = b.stamina_required, a.u.Ma = b.user_score, a.u.Qk = b.user_role, a.u.ri = b.current_fatigue, a.u.bi = b.currentCharges, a.u.T[3].count = b.pendingRoleEffects[3].count, a.u.T[2].count = b.pendingRoleEffects[2].count, a.u.T[1].count = b.pendingRoleEffects[1].count, a.u.T[3].kb = b.askDisplay_3, a.u.T[2].kb = b.askDisplay_2, a.u.T[1].kb = b.askDisplay_1;
                        if (b = Qa(c.responseText, 'var bossData = ', /;[\r\n]+/)) a.u.I = b.currHealth, a.u.yh = b.current_rage, a.u.ai = b.bossName;
                        a.K();
                        a.u.I || (n(r('Load Boss', 'Boss ' + a.la + ' is not active')), a.qk());
                        a.k = 2;
                        a.v()
                    } else a.Uc()
            }
            d.Km = function () {
                A.H(D('xw_controller=Epicclanboss&xw_action=list_view&type=bossfight'), function (c) {
                    a.Gj(c)
                })
            }
            d.Im = function (c) {
                A.H(D('xw_controller=Epicclanboss&xw_action=epic_create&boss_id=' + c), function (c) {
                    a.Gj(c)
                })
            }
            d.Gj = function (c) {
                var b, d;
                if (a.J(c)) if (a.M(c, 'Check Boss')) if (-1 !== c.responseText.indexOf('Please wait a moment while we calculate the rewards')) n(x('Check Boss', 'Waiting for Rewards')), a.k = 22, a.Ag = 5, a.L = 2, a.v();
                        else if (b = /xw_controller=Epicclanboss&xw_action=epic_collect.+boss_id=(\d+)/.exec(c.responseText)) b = q(b[1]), n(x('Check Boss', 'Ready to Collect Boss ' + (a.ob[b] ? a.ob[b] : b))), a.Ej(b);
                else {
                    d = /BossOperationController.goToFight.(\d+)/g;
                    for (d.lastIndex = 0; b = d.exec(c.responseText);) if (b = q(b[1]), b === a.b.la || !a.b.la) {
                            n(x('Check Boss', 'Ready to Join Boss ' + (a.ob[b] ? a.ob[b] : b)));
                            a.Fj(b);
                            return
                        }
                    d = /BossOperationController.startFight.(\d+)/g;
                    for (d.lastIndex = 0; b = d.exec(c.responseText);) if (b = q(b[1]), b === a.b.la || !a.b.la) {
                            n(x('Check Boss', 'Ready to Start Boss ' + (a.ob[b] ? a.ob[b] : b)));
                            a.Im(b);
                            return
                        }
                    a.k = 22;
                    a.Ag = 5;
                    a.L = 2;
                    a.v()
                } else a.v()
            }
            d.ci = function (c) {
                var b;
                if (a.b.Vd && c && 0 < a.u.bi) for (b = 0; b < c.length; b++) if (c[b].needRoleHelp) {
                            a.Bf = c[b].ppid;
                            a.Ug = c[b].name;
                            a.Vc = Y(a.Ug, j.l);
                            break
                        }
                if (a.Bf) return 1;
                if (5 > j.w || j.w < a.u.og) return 2;
                0 === a.Ob && (a.b.Sd && a.u.T[2].kb && 0 >= a.u.T[2].count ? a.Ob = 2 : a.b.Td && a.u.T[1].kb && 0 >= a.u.T[1].count ? a.Ob = 1 : a.b.Ud && (a.u.T[3].kb && 0 >= a.u.T[3].count) && (a.Ob = 3));
                return a.b.re && a.u.Ma > a.b.se ? 6 : 0 !== a.Ob ? 3 : a.b.Ra && a.u.og > a.b.Wf && 0 === a.u.T[3].count ? 4 : a.b.qe && a.u.yh > a.b.Vf && 0 === a.u.T[2].count ? 5 : 0
            }
            d.v = function () {
                var c;
                a.Q = B;
                if (1 === a.k) a.L = 2, a.ac();
                else if (2 === a.k) if (a.la) if (c = a.ci(), 1 === c) a.r('Sending boost to ' + a.Vc + '…'), a.Mm();
                        else if (2 === c) a.Q = i, a.r('Waiting for more <span class="stamina"/>Stamina…'), I(function () {
                        a.m && a.v()
                    }, 1E3);
                else if (3 === c) a.r('Asking for ' + a.Dm[a.Ob] + '…'), a.Em();
                else if (4 === c) a.Q = i, a.r('Waiting for fatigue to reduce (or a Racketeer boost)…'), I(function () {
                        a.m && a.Uc()
                    }, 1E3);
                else if (5 === c) a.Q = i, a.r('Waiting for rage to reduce (or an Arsonist boost)…'), I(function () {
                        a.m && a.Uc()
                    }, 1E3);
                else if (6 === c) a.Q = i, a.r('Waiting because score is over ' + m(a.b.se) + " (" + m(a.u.Ma) + ')…'), I(function () {
                        a.m && a.Uc()
                    }, 1E3);
                else {
                    a.r('Attacking ' + a.u.ai + '…');
                    a.Wd = B;
                    for (c = 0; c < Math.min(a.b.ga, 3); c++) a.ni()
                } else a.r('Checking Boss list…'), a.Km();
                else 22 === a.k ? (a.Q = i, a.Qi(function () {
                        a.m && (a.k = a.L, a.v())
                    }, a.Ag)) : 23 === a.k && a.Ta()
            }
            a.Z();
            a.S();
            a.P.A && a.A(function () {
                a.ja()
            }, 10)
        }

        function Tb(e) {
            var b = this,
                a = Tb.prototype;
            E = b;
            b.B = e;
            fa = new ja;
            b.Sb = l;
            b.Y = i;
            b.xi = B;
            b.wa = l;
            b.Kh = B;
            b.cj = l;
            b.il = l;
            b.ol = l;
            b.jl = l;
            b.gl = l;
            b.fl = l;
            b.hl = l;
            b.ll = l;
            b.ml = l;
            b.nl = l;
            b.n = {};
            b.ej = 0;
            a.rk = function () {
                na.ua();
                Ca.ua();
                ca.ua();
                oa.ua();
                Sa.ua();
                ba.ua();
                b.Y = B;
                b.xi = B;
                $("#" + e).remove();
                $('#e202' + e).remove();
                D$ = E = Eb = A = ba = Sa = oa = ca = Ca = na = l
            }
            a.uk = function () {
                b.xi = ga(e);
                b.K();
                Kb()
            }
            a.Z = function () {
                var a;
                $('head').append('<style type="text/css">.c0 table{width:100%}.c0 label{color:white;font-size:14px;display:inline}.c0 abbr{cursor:help;border:0}.c0 img{margin:0 3px;vertical-align:top}.c0 img.c16{width:50px;height:50px;margin:0;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;border:2px solid #3b3b3b}.c0 input{border:2px solid #333;margin:1px;padding:1px;background:#222;color:#ff8;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;vertical-align:baseline}.c0 select{border:2px solid #333;margin:1px;padding:0;background:#222;color:#ff8}.c0 textarea{border:2px solid #333;margin:1px;padding:1px;background:#222;color:#ff8;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.c0 textarea.c11{width:660px;height:32px;min-height:32px;resize:vertical}.c0 textarea.c14{width:290px;height:130px;resize:none}.c0 fieldset{border:1px solid #3b3b3b;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.c0 .empire_module_title{background:linear-gradient(to bottom,#303030 0,#404040 49%,#101010 51%,#000 100%)}.c0 .empire_module_title .c95{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/map_based_jobs/mastery_stars_90x42.png");padding-left:22px;height:22px;vertical-align:-4px;margin-right:5px}.c0 .empire_module_title .bronze_star{background-position:0 0}.c0 .empire_module_title .silver_star{background-position:-22px 0}.c0 .empire_module_title .gold_star{background-position:-45px 0}.c0 .empire_module_title .ruby_star{background-position:-68px 0}.c0 .c102{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/crew_module/crew_btn_icon.png");padding-left:22px;height:22px;vertical-align:2px}.c0 .c21{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/interactive_loot/bandit/item_xpbandit_01.png");padding-left:22px;width:22px;height:22px;background-size:22px auto;background-repeat:no-repeat;background-position:-2px -2px;color:#4165d0}.c0 .c22{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/interactive_loot/bandit/item_cashbandit_01.png");padding-left:22px;width:22px;height:22px;background-size:22px auto;background-repeat:no-repeat;background-position:-2px -2px;color:#2c5612}.c0 .c23{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/interactive_loot/bandit/item_jobbandit_01.png");padding-left:22px;width:22px;height:22px;background-size:22px auto;background-repeat:no-repeat;background-position:-2px -2px;color:#ff0}.c0 .ip{color:#8080ff;font-weight:normal}.c0 .good{color:#52e259;font-weight:normal}.c0 .bad{color:#ec2d2d;font-weight:normal}.c0 .yellow{color:#ecec2d;font-weight:normal}.c0 .stamina{color:orange}.c0 .empire_main_module{padding-bottom:2px;position:relative;width:745px}.c0 .tabframe{background-color:#0e0e0e;border:1px solid #3b3b3b;padding:0}.c0 .tab_subtitle{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;color:#ff8}.c0 .tab_middle{font-weight:bold;padding-left:5px;padding-right:5px;margin-left:-1px;margin-right:-1px}.c0 .tab_button{vertical-align:text-bottom}.c0 .c24{border:1px solid #333;margin:2px 0}.c0 .c25{border:1px solid #333;margin:0 4px}.c0 .c97{float:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.c0 .c27 table{border-collapse:collapse;border:0;margin:0;padding:0}.c0 .c27 .c132{width:50px;text-align:left}.c0 .c27 .c133{width:60px;text-align:left}.c0 .c27 .c134{width:60px;text-align:left}.c0 .c27 .c135{width:450px;text-align:left}.c0 .c32 table{border-collapse:collapse;border:0;margin:0;padding:0}.c0 .c32 td,.c0 .c32 th,.c0 .c32 tr{border:0;margin:0;padding:0 5px;height:26px}.c0 .c32 td.c136{background-color:#040}.c0 .c32 td.c137{width:340px;text-align:left}.c0 .c32 td.__op_health__{width:50px;text-align:left}.c0 .c32 td.c138{width:40px;text-align:right}.c0 .c32 td.c139{width:60px;text-align:right}.c0 .c32 td.c140{text-align:left}.c0 a.iced{color:#09f}.c0 a.killed{color:red}.c0 .c96{display:inline-block;height:23px;vertical-align:top}.c0 .c2{vertical-align:1px;font-size:12px;font-weight:bold}.c0 .c1{display:inline-block;width:10px}.c0 .c110{display:inline-block;width:20px}.c0 .c4{background:linear-gradient(to bottom,#202020 0,#000 100%)}.c0 .ui-selectable{list-style-type:none;margin:0;padding:0;cursor:default;-webkit-user-select:none;-moz-user-select:none}.c0 .ui-selectable li{width:100%;border:0;margin:0;padding:0}.c0 .ui-selectee{filter:.5;opacity:.5}.c0 .ui-selected{background-color:#040;filter:1;opacity:1}.c0 .ui-selecting{background-color:#040;filter:1;opacity:1}.c0 .c43{border:2px solid #333;margin-bottom:10px}.c0 .c103{list-style-type:none;margin:0;padding:0;cursor:default}.c0 .c45{border:2px solid #333;margin:1px;padding:1px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;vertical-align:baseline;cursor:n-resize}.c0 .c46{width:686px;height:160px;overflow-x:hidden;overflow-y:scroll;border:2px solid #333}.c0 .c46 .c47{height:18px;padding:1px;background-color:#222;color:#ff8;background:linear-gradient(to bottom,#505050 0,#303030 49%,#101010 51%,#0c0c0c 100%)}.c0 .c46 .c48{height:18px;padding:1px 0 1px 10px}.c0 .c49{width:330px;height:90px;overflow-x:hidden;overflow-y:scroll;border:2px solid #333}.c0 .c49 .c50{height:18px;padding:1px;background-color:#222;color:#ff8;background:linear-gradient(to bottom,#505050 0,#303030 49%,#101010 51%,#0c0c0c 100%)}.c0 .c49 .c51{height:18px;padding:1px 0 1px 10px}.c0 table.c53{border-collapse:collapse}.c0 .c53 .c111{width:105px}.c0 .c53 .c112{width:200px}.c0 .c53 .c113{width:190px;text-align:right}.c0 .c53 .c114{width:190px;text-align:right}.c0 .cash_good{color:#0c0}.c0 .c58 .c115{width:200px}.c0 .c58 .c116{width:70px}.c0 .c58 .c117{width:100px}.c0 .c58 .c118{width:70px}.c0 .c58 .c119{width:70px}.c0 .c64 tr{height:30px}.c0 .c64 .c121{width:74px}.c0 .c64 td.c121{text-align:center}.c0 .c64 .c122{width:70px}.c0 .c64 .c123{width:70px}.c0 .c64 th.c124{width:50px}.c0 .c64 td.c124{text-align:right}.c0 .c64 .c125{width:80px}.c0 .c64 .c126{width:105px}.c0 .c73 .c74{background-repeat:no-repeat;background-size:50px auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;display:inline-block;width:50px;height:50px}.c0 .c73 .c74>span{background:none rgba(0,0,0,0.75);float:right}.c0 .c73 .c74:hover{background-color:#222}.c0 .c73 .c76{background-size:32px auto;width:32px;height:32px;font-size:12px}.c0 .c73 .c131{font-size:12px;-webkit-user-select:none;-moz-user-select:none}.c0 .c73 .c130{float:left;text-align:center;padding-right:10px}.c0 .c73 .c127{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/big_item_suckerpunch_01.png")}.c0 .c73 .c128{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/big_item_drained_02.png")}.c0 .c73 .c129{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/big_item_freeze_01.png")}.c0 .c73 .c82{background:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/Arena/Effect_opponentOverlay.png") no-repeat scroll -8px 0 transparent;width:30px;height:30px;display:inline-block;-webkit-user-select:none;-moz-user-select:none;font-size:12px}.c0 .c73 .c82>span{background:none rgba(0,0,0,0.75);float:right}.c0 .c73 .c83{background:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/Arena/Effect_opponentOverlay.png") no-repeat scroll -222px -100px transparent;width:30px;height:30px;display:inline-block;-webkit-user-select:none;-moz-user-select:none;font-size:12px}.c0 .c73 .c83>span{background:none rgba(0,0,0,0.75);float:right}.c0 .c73 img.c84{width:30px;height:30px;margin:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:2px solid #3b3b3b}.c0 .c85{background:#000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:2px solid #3b3b3b;padding:4px}.c0 a.active_btn{width:80px}.c0 a.shorter{vertical-align:inherit;font-weight:normal}.c0 .c86>span>span{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/arrow_up.png");background-position:0 -1px;padding-left:22px;margin-left:0}.c0 .c87>span>span{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/requests/cross.png");background-position:0 1px;padding-left:18px;margin-left:2px}.c0 .c88>span>span{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/war/MW_DeclareWar_war_main_refresh_05.png");background-position:0 -1px;background-size:18px auto;padding-left:20px;margin-left:2px}.c0 .c89>span>span{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/requests/cross.png");background-position:0 1px;padding-left:18px;margin-left:2px}.c0 .c90>span>span{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/v3/icon_hammer_wrench.png");background-position:0 1px;padding-left:22px;margin-left:2px}.c0 .c91>span>span{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/inventory/NAV/Inventory-wishlist-icon.png");background-position:0 0;padding-left:22px;margin-left:2px}.c0 .c12{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/inventory/FilterDropDown/inventory_arrow_active_left.png");background-position:0 1px;padding-left:16px;cursor:pointer}.c0 .c13{background-image:url("https://zynga1-a.akamaihd.net/mwfb/mwfb/graphics/inventory/FilterDropDown/inventory_arrow_active_right.png");background-position:0 1px;padding-left:16px;cursor:pointer}.c0 .c100{font-weight:bold;color:#ff8;cursor:pointer}.c0 .c101{width:75px}.c0 .c94{width:75px}#arena_settings .heading{margin-left:0;width:100%}</style>');
                var c = '<div id="%ID%" class="c0" style="display:none;"><div class="empire_main_module"><div class="clearfix" style="width:745px;"><table style="border:0px;padding:0px;border-collapse:collapse;"><tr><td style="border:0px;padding:0px;border-collapse:collapse;"><div class="empire_module_header" style="float:left;width:735px;"><div class="empire_module_title" style="border-bottom:0px;"><div style="float:left;margin-top:-4px;"><span><span id="e0%ID%" style="cursor:pointer;vertical-align:5px;"><span class="c95 ' + Nb + '"/><span style="background-image: url(&quot;' + Da + '/img/demon_25.png&quot;); background-repeat:no-repeat; padding:4px 143px 1px 0px;"/></span></span><span class="c1"/><a href="https://www.facebook.com/mafiademonscript" target="_blank" style="background-image: url(&quot;' + Da + '/img/fb_20.png&quot;); background-repeat:no-repeat; !important;padding-left:20px;margin-right:10px;vertical-align:5px;"/><iframe src="https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fmafiademonscript&amp;layout=button_count&amp;show_faces=false&amp;width=90&amp;action=like&amp;colorscheme=dark&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:80px; height:21px; margin-top:4px;" allowTransparency="true"/></div><div style="float:right;margin-right:5px;margin-top:-2px;"><span style="font-size:0.6em;color:#FFF;">Version ' + rb + ' - <a href="' + Da + '/scripts/" target="_blank">Homepage</a></span><span class="c1"/><a href="#0" id="e3%ID%" class="close" style="margin:5px 8px 0px 0px;vertical-align:top;"/></div></div><div id="e203%ID%" class="clearfix" style="clear:both;border-top: 1px solid gray;"><table style="padding:5px;border:0px;width:733px;"><tbody><tr><td><span id="e93%ID%"><div class="c96" title="Health" id="e204e93%ID%"/><span class="c1"/><div class="c96" title="Energy" id="e205e93%ID%"/><span class="c1"/><div class="c96" title="Stamina" id="e206e93%ID%"/><span class="c1"/><div class="c96" title="Experience" id="e207e93%ID%"/><span class="c1"/><div class="c96"><span id="e208e93%ID%"/></div><div style="clear:both;"/><div style="display:inline-block;height:18px;vertical-align:top;"><span class="attack" title="Attack" id="e209e93%ID%"/><span class="c1"/><span class="defense" title="Defense" id="e210e93%ID%"/><span class="c1"/><span class="sexy_mafia_attack" title="Mafia Attack" id="e211e93%ID%"/><span class="c1"/><span class="sexy_mafia_defense" title="Mafia Defense" id="e212e93%ID%"/><span class="c1"/><span class="mafia_size" title="Mafia Size" id="e213e93%ID%"/><span class="respect" title="Respect" id="e214e93%ID%"/><span class="c1"/></div><a href="remote/html_server.php?xw_controller=fight&xw_action=fight_show_items_used_pop&o=p|' + j.l + '&gs=501" class="mw_new_ajax" selector="#popup_fodder_hospital" title="View Active Items"><img src="' + M + '/graphics/icon-help.gif" style="margin:2px 3px 0px 3px;vertical-align:top;"/></a><span class="c1"/><span class="c2 more_in" id="e185%ID%"/><br/></span></td></tr><tr><td><ul id="e12" class="tab_box_header" style="height:32px;border:0px;margin:0px;padding:0px;list-style-type:none;"/><div id="e10" style="border: 1px solid rgb(51,51,51);position:relative;width:100%;"/></td></tr><tr><td><ul id="e13" class="tab_box_header" style="height:32px;border:0px;margin:0px;padding:0px;list-style-type:none;"/><div id="e11" style="border: 1px solid rgb(51,51,51);position:relative;width:100%;"/></td></tr></tbody></table></div></div></td><td style="border:0px;padding:0px;background:url(&quot;' + M + '/graphics/empire/shadow_right_side.png&quot;);background-position:0px 8px;background-repeat:no-repeat;background-size:8px 100%;width:8px;vertical-align:top;"><div style="background:url(&quot;' + M + '/graphics/empire/shadow_upper_right.png&quot;);height:8px;width:8px;"/></td></tr></table><div style="float:left;background:url(&quot;' + M + '/graphics/empire/shadow_lower_left.png&quot;) repeat scroll 0% 0% transparent;height:8px;width:8px;"/><div style="float:left;background:url(&quot;' + M + '/graphics/empire/shadow_bottom.png&quot;) repeat scroll 0% 0% transparent;height:8px;width:729px;"/><div style="float:left;background:url(&quot;' + M + '/graphics/empire/shadow_lower_right.png&quot;) repeat scroll 0% 0% transparent;height:8px;width:8px;"/><div style="clear:both;"/></div></div></div>';
                a = $('#content_row');
                a.length || (a = $('#inner_page'));
                a.before(c.replace(/%ID%/g, e));
                a = '<li id="e202%ID%"><div style="width:50px;" title="' + Bb + ' Version ' + rb + '"><a class="quest_icon" style="background-image:url(&quot;' + Da + '/img/demon_icon_36.png&quot;);background-repeat:no-repeat;"><span/></a></div></li>';
                $('#quest_bar > ul').prepend(a.replace(/%ID%/g, e));
                f("#e3" + e, function () {
                    b.rk();
                    return B
                });
                f("#e0" + e, function () {
                    b.Y = ga('e203' + e);
                    b.K();
                    Kb();
                    return B
                });
                f('#e202' + e, function () {
                    b.uk();
                    return B
                });
                b.Sb = $('#e185' + e);
                $(document).unbind('scroll');
                $('#spockholm_toolbar').css({
                    position: 'relative'
                });
                $('body').css('font-family', $('body').css('font-family') + ',"Arial Unicode MS"');
                b.wa = $('#e93' + e);
                b.wa.hide();
                D$.isVisible = Z = function () {
                    return b.Y && b.xi
                }
            }
            a.jb = function (a, c) {
                j.ii(a.user_fields, a.fightbar, c);
                user_fields_update(a.user_fields);
                user_info_update(a.user_fields, a.user_info);
                b.K();
                b.Kh = i;
                Xa()
            }
            a.Ja = function (a, c) {
                var g, v, e, f = i;
                if (a.responseText && -1 !== (v = a.responseText.indexOf('var user_info = [];')) && -1 !== (e = a.responseText.indexOf('user_fields_update(user_fields);', v))) try {
                        g = a.responseText.slice(v + 19, e), g = g.replace(/user_fields/g, 'this[\'temp1\']'), g = g.replace(/user_info/g, 'this[\'temp2\']'), this.temp1 = {}, this.temp2 = {}, eval(g), j.ii(this.temp1), user_fields_update(this.temp1), user_info_update(this.temp1, this.temp2), this.temp1 = {}, this.temp2 = {}, b.K(), b.Kh = i, Xa()
                } catch (y) {
                    C(r('Update Status', y)), f = B
                } else C(r('Update Status', 'Problem Finding User Info')), f = B;
                c || (a.responseText && (g = /local_xw_sig = '([a-f0-9]+)'/.exec(a.responseText)) ? local_xw_sig = g[1] : (C(r('Update Status', 'Problem Finding Signature')), f = B));
                return f
            }
            a.K = function () {
                var a, c;
                if (Oa("#" + e)) {
                    if (Z() && b.wa && j.D && W.D) {
                        b.cj || (b.cj = $('#e204e93' + e), b.il = $('#e205e93' + e), b.ol = $('#e206e93' + e), b.jl = $('#e207e93' + e), b.gl = $('#e208e93' + e), b.fl = $('#e209e93' + e), b.hl = $('#e210e93' + e), b.ll = $('#e211e93' + e), b.ml = $('#e212e93' + e), b.nl = $('#e213e93' + e), b.Ir = $('#e214e93' + e), b.wa.show());
                        if (b.n.I !== j.I || b.n.Gb !== j.Gb) b.n.I = j.I, b.n.Gb = j.Gb, c = Math.min(q(100 * j.I / j.Gb), 100), a = 33 > c ? '255,0,0' : 66 > c ? '255,165,0' : '0,192,0', b.cj.html('<span class="health">' + m(j.I) + "/" + m(j.Gb) + '</span><br/><span style="display:block;width:' + c + '%;height:2px;background-color:rgb(' + a + ');float:left;"/><span style="display:block;width:' + (100 - c) + '%;height:2px;background-color:rgba(' + a + ',0.35);float:right;"/>');
                        if (b.n.h !== j.h || b.n.jd !== j.jd || b.n.Ga !== j.Ga) b.n.jd = j.jd, c = Math.min(q(100 * j.h / j.jd), 100), a = Math.min(Math.max(j.Ga / j.h, 0), 101), a = 100 < a ? '>100' : a.toFixed(10 > a ? 2 : 0), b.il.html('<span class="energy">' + m(j.h) + "/" + m(j.jd) + '</span>&nbsp;<span class="c2 more_in">[' + a + ']</span><br/><span style="display:block;width:' + c + '%;height:2px;background-color:rgb(255,204,51);float:left;"/><span style="display:block;width:' + (100 - c) + '%;height:2px;background-color:rgba(255,204,51,0.35);float:right;"/>');
                        if (b.n.w !== j.w || b.n.Ra !== j.Ra || b.n.Ga !== j.Ga) b.n.Ra = j.Ra, c = Math.min(q(100 * j.w / j.Ra), 100), a = Math.min(Math.max(j.Ga / j.w, 0), 101), a = 100 < a ? '>100' : a.toFixed(10 > a ? 2 : 0), b.ol.html('<span class="stamina">' + m(j.w) + "/" + m(j.Ra) + '</span>&nbsp;<span class="c2 more_in">[' + a + ']</span><br/><span style="display:block;width:' + c + '%;height:2px;background-color:rgb(255,165,0);float:left;"/><span style="display:block;width:' + (100 - c) + '%;height:2px;background-color:rgba(255,165,0,0.35);float:right;"/>');
                        if (b.n.Ga !== j.Ga || b.n.Xd !== j.Xd || b.n.h !== j.h || b.n.w !== j.w) b.n.h = j.h, b.n.w = j.w, b.n.Ga = j.Ga, b.n.Xd = j.Xd, c = 100 - Math.min(q(100 * j.Ga / j.Xd), 100), a = Math.min(Math.max(j.Cg(), 0), 101), a = 100 < a ? '>100' : a.toFixed(10 > a ? 2 : 0), b.jl.html('<span class="experience">' + m(j.Ga) + '</span>&nbsp;<span class="c2 more_in">[' + a + ']</span><br/><span style="display:block;width:' + c + '%;height:2px;background-color:rgb(0,153,255);float:left;"/><span style="display:block;width:' + (100 - c) + '%;height:2px;background-color:rgba(0,153,255,0.35);float:right;"/>');
                        b.n.Da !== j.Da && (b.n.Da = j.Da, b.gl.html(ha[j.Da]));
                        b.n.ib !== j.ib && (b.n.ib = j.ib, b.fl.html(m(j.ib) + " " + Ma(j.ib - W.ib)));
                        b.n.Ec !== j.Ec && (b.n.Ec = j.Ec, b.hl.html(m(j.Ec) + " " + Ma(j.Ec - W.Ec)));
                        b.n.mc !== j.mc && (b.n.mc = j.mc, b.ll.html(m(j.mc) + " " + Ma(j.mc - W.mc)));
                        b.n.nc !== j.nc && (b.n.nc = j.nc, b.ml.html(m(j.nc) + " " + Ma(j.nc - W.nc)));
                        b.n.Rb !== j.Rb && (b.n.Rb = j.Rb, b.nl.html(m(j.Rb)));
                        b.n.N !== j.N && (b.n.N = j.N, b.Ir.html(m(j.N) + " " + Ma(j.N - W.N)))
                    }
                    ca.K();
                    L.ra()
                } else b.rk()
            }
            b.Z()
        }

        function bb() {
            this.init()
        }

        function Ub(e, b) {
            var a = this,
                d = Ub.prototype;
            ba = a;
            F(d, G.prototype);
            a.cb(e, b);
            a.P = K.q[3];
            a.P.g = a;
            a.xa = l;
            a.xb = i;
            a.wa = l;
            a.sg = l;
            a.qg = l;
            a.Jh = l;
            a.rg = l;
            a.n = {
                Ba: 0
            };
            a.db = 0;
            a.Tb = 0;
            a.Hc = B;
            a.vb = B;
            a.Bb = -1;
            a.gi = 0;
            a.nh = B;
            a.Bi = 0;
            a.ld = B;
            a.Ic = B;
            a.d = l;
            a.Mf = "";
            a.ca = {};
            a.oa = new ja;
            a.ba = new ja;
            var c = ["", 'Experience', 'Cash', "Job"],
                g = {
                    1: {
                        1: 'New York 1 - Street Thug',
                        2: 'New York 2 - Associate',
                        3: 'New York 3 - Soldier',
                        4: 'New York 4 - Enforcer',
                        5: 'New York 5 - Hitman',
                        6: 'New York 6 - Capo',
                        7: 'New York 7 - Consigliere',
                        8: 'New York 8 - Underboss',
                        9: 'New York 9 - Boss'
                    },
                    5: {
                        1: 'Las Vegas 1 - North Las Vegas',
                        2: 'Las Vegas 2 - Paradise City',
                        3: 'Las Vegas 3 - The Lower Strip',
                        4: 'Las Vegas 4 - Shogun Casino',
                        5: 'Las Vegas 5 - Mojave Desert',
                        6: 'Las Vegas 6 - The Upper Strip',
                        7: 'Las Vegas 7 - Area 51',
                        8: 'Las Vegas 8 - Hoover Dam'
                    },
                    7: {
                        1: 'Brazil 1 - Rio de Janeiro: Centro',
                        2: 'Brazil 2 - Belem',
                        3: 'Brazil 3 - Manaus',
                        4: 'Brazil 4 - Sao Paolo: Heliopolis',
                        5: 'Brazil 5 - Recife',
                        6: 'Brazil 6 - Rio de Janeiro: Rocinha',
                        7: 'Brazil 7 - Rio de Janeiro: Copacabana',
                        8: 'Brazil 8 - Sao Paolo: Taubate Prison',
                        113: 'Limited Time - Metal Mafia',
                        116: 'Limited Time - Obelisk of Sao Paulo',
                        121: 'Limited Time - When The Wild Strikes',
                        124: 'Limited Time - Face It',
                        127: 'Limited Time - Rocks In Rio'
                    },
                    8: {
                        1: 'Chicago 1 - Sam\'s Truck Shop',
                        2: 'Chicago 2 - Main Street Speakeasy',
                        3: 'Chicago 3 - The Old Warehouse',
                        4: 'Chicago 4 - Ballot Box Distillery',
                        5: 'Chicago 5 - Lakeside Docks',
                        6: 'Chicago 6 - Crosstown Showdown',
                        114: 'Limited Time - The Grifter',
                        115: 'Limited Time - Lighthouse Lobbying',
                        120: 'Limited Time - NightCap',
                        123: 'Limited Time - Vaudevillains',
                        126: 'Limited Time - Barbershop Quartet'
                    },
                    9: {
                        1: 'London 1 - Notes From The Underground',
                        2: 'London 2 - East End Story',
                        3: 'London 3 - Dead in Red',
                        4: 'London 4 - To Russia with Love',
                        5: 'London 5 - Schoolyard Games',
                        6: 'London 6 - Collateral Damage',
                        7: 'London 7 - Baby On Board',
                        8: 'London 8 - American Psycho In London',
                        9: 'London 9 - Turkish Delight',
                        10: 'London 10 - Footing The Ball',
                        101: 'Limited Time - The Mold',
                        102: 'Limited Time - On Your Mark',
                        119: 'Limited Time - That\'s A Wrap',
                        122: 'Limited Time - Anchors Aweigh',
                        125: 'Limited Time - Round And Round'
                    }
                };
            d.Cl = function () {
                var c, b, g = [{
                            f: 'Sneak Into The Carnival Dressing Room',
                            d: 960,
                            g: 127,
                            c: 7,
                            h: 648,
                            i: 1268,
                            e: 27304
                        }, {
                            f: 'Take Out A Carnival Participant',
                            d: 961,
                            g: 127,
                            c: 7,
                            h: 594,
                            i: 1268,
                            e: -2230
                        }, {
                            f: 'Fill In Her Position At The Carnival',
                            d: 962,
                            g: 127,
                            c: 7,
                            h: 756,
                            i: 1440,
                            e: -2750
                        }, {
                            f: 'Locate Esmeralda\'s Float',
                            d: 963,
                            g: 127,
                            c: 7,
                            h: 594,
                            i: 1325,
                            e: -4120
                        }, {
                            f: 'Dance Your Way Towards The Float',
                            d: 964,
                            g: 127,
                            c: 7,
                            h: 756,
                            i: 1383,
                            e: -2680
                        }, {
                            f: 'Enter The Float As Part Of The Act',
                            d: 965,
                            g: 127,
                            c: 7,
                            h: 864,
                            i: 1556,
                            e: 23806
                        }, {
                            f: 'Claim The Cinco-Diamante To Be Yours',
                            d: 966,
                            g: 127,
                            c: 7,
                            h: 864,
                            i: 1671,
                            e: 27046
                        }, {
                            f: 'Leave Esmeralda De Maxixe Defenseless',
                            d: 967,
                            g: 127,
                            c: 7,
                            h: 1026,
                            i: 2247,
                            e: -5450
                        }, {
                            f: 'Enjoy The Parade 200 Carats Richer',
                            d: 968,
                            g: 127,
                            c: 7,
                            h: 972,
                            i: 2132,
                            e: 23377
                        }, {
                            f: 'Queue Up At The Grande Stadium For The Game',
                            d: 73,
                            g: 10,
                            c: 9,
                            h: 972,
                            i: 2074,
                            e: 356
                        }, {
                            f: 'Enjoy The Game At Rival Team\'s Cost',
                            d: 74,
                            g: 10,
                            c: 9,
                            h: 972,
                            i: 2189,
                            e: -57
                        }, {
                            f: 'Go To A Pub To Celebrate Your Team\'s Win',
                            d: 75,
                            g: 10,
                            c: 9,
                            h: 1188,
                            i: 2650,
                            e: 435
                        }, {
                            f: 'Poke Your Team\'s Victory In Rival Fans\' Faces',
                            d: 76,
                            g: 10,
                            c: 9,
                            h: 1242,
                            i: 2765,
                            e: 316
                        }, {
                            f: 'Defend Yourself From The Rival\'s Fans',
                            d: 77,
                            g: 10,
                            c: 9,
                            h: 1188,
                            i: 2650,
                            e: 396
                        }, {
                            f: 'Make A Run For It And Hide',
                            d: 78,
                            g: 10,
                            c: 9,
                            h: 1080,
                            i: 2362,
                            e: -57
                        }, {
                            f: 'Speak To Your Uncle With Connections',
                            d: 79,
                            g: 10,
                            c: 9,
                            h: 1296,
                            i: 2880,
                            e: 382
                        }, {
                            f: 'Make The Club Pay For Their Disrespect',
                            d: 80,
                            g: 10,
                            c: 9,
                            h: 1242,
                            i: 2765,
                            e: -65
                        }, {
                            f: 'Set Up A Drug Racket From Your Kebab Shop',
                            d: 65,
                            g: 9,
                            c: 9,
                            h: 972,
                            i: 2132,
                            e: 286
                        }, {
                            f: 'Expand The Business With Turkish Smugglers\' Help',
                            d: 66,
                            g: 9,
                            c: 9,
                            h: 1026,
                            i: 2247,
                            e: 347
                        }, {
                            f: 'Reap The Benefits',
                            d: 67,
                            g: 9,
                            c: 9,
                            h: 1242,
                            i: 2765,
                            e: -65
                        }, {
                            f: 'Suspect Foul Play',
                            d: 68,
                            g: 9,
                            c: 9,
                            h: 1080,
                            i: 2362,
                            e: 448
                        }, {
                            f: 'Silence Your Disloyal Associates',
                            d: 69,
                            g: 9,
                            c: 9,
                            h: 1242,
                            i: 2650,
                            e: 462
                        }, {
                            f: 'Pretend To Be A Survivor',
                            d: 70,
                            g: 9,
                            c: 9,
                            h: 1188,
                            i: 2535,
                            e: -43
                        }, {
                            f: 'Get Compensation From Insurance Company',
                            d: 71,
                            g: 9,
                            c: 9,
                            h: 1350,
                            i: 2765,
                            e: 497
                        }, {
                            f: 'Open Various Branches Across London But Beware',
                            d: 72,
                            g: 9,
                            c: 9,
                            h: 1404,
                            i: 2880,
                            e: -79
                        }, {
                            f: 'Meet Your Source',
                            d: 57,
                            g: 8,
                            c: 9,
                            h: 1026,
                            i: 2074,
                            e: 391
                        }, {
                            f: 'Investigate The Trail Of The Puzzle Box',
                            d: 58,
                            g: 8,
                            c: 9,
                            h: 972,
                            i: 2189,
                            e: -52
                        }, {
                            f: 'Audition Your Potential Partners',
                            d: 59,
                            g: 8,
                            c: 9,
                            h: 1296,
                            i: 2650,
                            e: 426
                        }, {
                            f: 'Storm The Tower Of London',
                            d: 60,
                            g: 8,
                            c: 9,
                            h: 1188,
                            i: 2420,
                            e: 484
                        }, {
                            f: 'Steal The Puzzle Box',
                            d: 61,
                            g: 8,
                            c: 9,
                            h: 1242,
                            i: 2650,
                            e: 365
                        }, {
                            f: 'Fight Off The Police',
                            d: 62,
                            g: 8,
                            c: 9,
                            h: 1188,
                            i: 2708,
                            e: -75
                        }, {
                            f: 'Escape Into The Back Alleys',
                            d: 63,
                            g: 8,
                            c: 9,
                            h: 1350,
                            i: 2880,
                            e: -63
                        }, {
                            f: 'Open The Puzzle Box',
                            d: 64,
                            g: 8,
                            c: 9,
                            h: 1404,
                            i: 2765,
                            e: 616
                        }, {
                            f: 'Track Down Your Target',
                            d: 49,
                            g: 7,
                            c: 9,
                            h: 972,
                            i: 2074,
                            e: 391
                        }, {
                            f: 'Assassinate Your Target',
                            d: 50,
                            g: 7,
                            c: 9,
                            h: 1080,
                            i: 2189,
                            e: 360
                        }, {
                            f: 'Declare Your Retirement To The Boss',
                            d: 51,
                            g: 7,
                            c: 9,
                            h: 1296,
                            i: 2592,
                            e: -54
                        }, {
                            f: 'Chase Down Your Son\'s Kidnappers',
                            d: 52,
                            g: 7,
                            c: 9,
                            h: 1188,
                            i: 2650,
                            e: -56
                        }, {
                            f: 'Sneak Into The Manor',
                            d: 53,
                            g: 7,
                            c: 9,
                            h: 1026,
                            i: 2247,
                            e: 312
                        }, {
                            f: 'Rescue Your Son',
                            d: 54,
                            g: 7,
                            c: 9,
                            h: 1350,
                            i: 2592,
                            e: 448
                        }, {
                            f: 'Take Out The Boss And His Guards',
                            d: 55,
                            g: 7,
                            c: 9,
                            h: 1188,
                            i: 2420,
                            e: 435
                        }, {
                            f: 'Retire To The Isle Of Wight',
                            d: 56,
                            g: 7,
                            c: 9,
                            h: 1242,
                            i: 2765,
                            e: -78
                        }, {
                            f: 'Analyze Your Agent\'s Data',
                            d: 41,
                            g: 6,
                            c: 9,
                            h: 1134,
                            i: 2189,
                            e: 466
                        }, {
                            f: 'Organize A Raid On The Gang Hideout',
                            d: 42,
                            g: 6,
                            c: 9,
                            h: 1188,
                            i: 2247,
                            e: -62
                        }, {
                            f: 'Ambush The Convoy Transporting The Gang Boss',
                            d: 43,
                            g: 6,
                            c: 9,
                            h: 1242,
                            i: 2592,
                            e: 554
                        }, {
                            f: 'Drive The Gang Boss To A Safehouse',
                            d: 44,
                            g: 6,
                            c: 9,
                            h: 1296,
                            i: 2650,
                            e: -74
                        }, {
                            f: 'Forge The Reports',
                            d: 45,
                            g: 6,
                            c: 9,
                            h: 1350,
                            i: 2938,
                            e: -84
                        }, {
                            f: 'Observe Your Agent Snooping Around',
                            d: 46,
                            g: 6,
                            c: 9,
                            h: 1134,
                            i: 2362,
                            e: 554
                        }, {
                            f: 'Snipe Your Agent Before He Goes Public',
                            d: 47,
                            g: 6,
                            c: 9,
                            h: 1404,
                            i: 2708,
                            e: 506
                        }, {
                            f: 'Close The Investigation',
                            d: 48,
                            g: 6,
                            c: 9,
                            h: 1350,
                            i: 2765,
                            e: 594
                        }, {
                            f: 'Sneak Into The Gambling Den',
                            d: 33,
                            g: 5,
                            c: 9,
                            h: 1080,
                            i: 2074,
                            e: 448
                        }, {
                            f: 'Gamble Away All Your Savings',
                            d: 34,
                            g: 5,
                            c: 9,
                            h: 1134,
                            i: 2189,
                            e: -48
                        }, {
                            f: 'Bargain To Push \'Power Ups\' To Pay Off Your Debts',
                            d: 35,
                            g: 5,
                            c: 9,
                            h: 1188,
                            i: 2247,
                            e: 435
                        }, {
                            f: 'Sell \'Power Ups\' At School',
                            d: 36,
                            g: 5,
                            c: 9,
                            h: 1242,
                            i: 2592,
                            e: -58
                        }, {
                            f: 'Start An Operation',
                            d: 37,
                            g: 5,
                            c: 9,
                            h: 1134,
                            i: 2247,
                            e: 343
                        }, {
                            f: 'Pay Off Your Debts',
                            d: 38,
                            g: 5,
                            c: 9,
                            h: 1188,
                            i: 2362,
                            e: 396
                        }, {
                            f: 'Run Your Empire',
                            d: 39,
                            g: 5,
                            c: 9,
                            h: 1080,
                            i: 2420,
                            e: -57
                        }, {
                            f: 'Join The Inner Circle',
                            d: 40,
                            g: 5,
                            c: 9,
                            h: 1242,
                            i: 2592,
                            e: 462
                        }, {
                            f: 'Accept The Offer Made By The Russians',
                            d: 25,
                            g: 4,
                            c: 9,
                            h: 972,
                            i: 1728,
                            e: 316
                        }, {
                            f: 'Provide Insider Information On Your Gang',
                            d: 26,
                            g: 4,
                            c: 9,
                            h: 972,
                            i: 2016,
                            e: -36
                        }, {
                            f: 'Escape The Hitmen After Being Discovered',
                            d: 27,
                            g: 4,
                            c: 9,
                            h: 1080,
                            i: 2074,
                            e: 325
                        }, {
                            f: 'Take Shelter In A Warehouse',
                            d: 28,
                            g: 4,
                            c: 9,
                            h: 1026,
                            i: 2074,
                            e: -44
                        }, {
                            f: 'Fake Your Own Death',
                            d: 29,
                            g: 4,
                            c: 9,
                            h: 1134,
                            i: 2132,
                            e: 343
                        }, {
                            f: 'Create A Russian Identity',
                            d: 30,
                            g: 4,
                            c: 9,
                            h: 1080,
                            i: 2247,
                            e: -46
                        }, {
                            f: 'Eliminate Your Gang With The Russians',
                            d: 31,
                            g: 4,
                            c: 9,
                            h: 1134,
                            i: 2189,
                            e: 382
                        }, {
                            f: 'Run The Racket',
                            d: 32,
                            g: 4,
                            c: 9,
                            h: 1134,
                            i: 2247,
                            e: 382
                        }, {
                            f: 'Write About The Mysterious Shooting',
                            d: 17,
                            g: 3,
                            c: 9,
                            h: 702,
                            i: 1325,
                            e: 127
                        }, {
                            f: 'Work With The PI At The Crime Scene',
                            d: 18,
                            g: 3,
                            c: 9,
                            h: 756,
                            i: 1383,
                            e: 167
                        }, {
                            f: 'Approach The Police With Leads',
                            d: 19,
                            g: 3,
                            c: 9,
                            h: 702,
                            i: 1440,
                            e: 127
                        }, {
                            f: 'Search For A Trail',
                            d: 20,
                            g: 3,
                            c: 9,
                            h: 810,
                            i: 1556,
                            e: -25
                        }, {
                            f: 'Threaten To Expose The Royal',
                            d: 21,
                            g: 3,
                            c: 9,
                            h: 810,
                            i: 1498,
                            e: 149
                        }, {
                            f: 'Lay A Trap For The Royal',
                            d: 22,
                            g: 3,
                            c: 9,
                            h: 864,
                            i: 1613,
                            e: -27
                        }, {
                            f: 'Tell The Editor The Truth',
                            d: 23,
                            g: 3,
                            c: 9,
                            h: 918,
                            i: 1671,
                            e: 233
                        }, {
                            f: 'Publish False Story Under Threat',
                            d: 24,
                            g: 3,
                            c: 9,
                            h: 864,
                            i: 1613,
                            e: 189
                        }, {
                            f: 'Force An Immigrant Family From Their Home',
                            d: 9,
                            g: 2,
                            c: 9,
                            h: 378,
                            i: 519,
                            e: 83
                        }, {
                            f: 'Meet The Land Mafia To Collect Your Take',
                            d: 10,
                            g: 2,
                            c: 9,
                            h: 270,
                            i: 461,
                            e: 44
                        }, {
                            f: 'Intimidate The New Celebrity Residents',
                            d: 11,
                            g: 2,
                            c: 9,
                            h: 324,
                            i: 519,
                            e: -7
                        }, {
                            f: 'Case The Nouvelle Vague Art Gallery',
                            d: 12,
                            g: 2,
                            c: 9,
                            h: 432,
                            i: 807,
                            e: 79
                        }, {
                            f: 'Destroy The Rare East End Works Painting',
                            d: 13,
                            g: 2,
                            c: 9,
                            h: 486,
                            i: 864,
                            e: 110
                        }, {
                            f: 'Burn Down A Brand New Condo',
                            d: 14,
                            g: 2,
                            c: 9,
                            h: 540,
                            i: 980,
                            e: 83
                        }, {
                            f: 'Collect Your Take From The Construction Firms',
                            d: 15,
                            g: 2,
                            c: 9,
                            h: 486,
                            i: 1037,
                            e: 79
                        }, {
                            f: 'Leave The East End',
                            d: 16,
                            g: 2,
                            c: 9,
                            h: 648,
                            i: 1268,
                            e: 149
                        }, {
                            f: 'Claim Your Winnings After The Match',
                            d: 1,
                            g: 1,
                            c: 9,
                            h: 270,
                            i: 346,
                            e: 39
                        }, {
                            f: 'Fight Off The Thugs',
                            d: 2,
                            g: 1,
                            c: 9,
                            h: 270,
                            i: 404,
                            e: 44
                        }, {
                            f: 'Discuss Your Options With The Betting Mafia',
                            d: 3,
                            g: 1,
                            c: 9,
                            h: 270,
                            i: 404,
                            e: 44
                        }, {
                            f: 'Persuade "The Kid" To Throw The Championship Fight',
                            d: 4,
                            g: 1,
                            c: 9,
                            h: 270,
                            i: 346,
                            e: 39
                        }, {
                            f: 'Spike "The Kid\'s" Energy Drink With A Neurotoxin',
                            d: 5,
                            g: 1,
                            c: 9,
                            h: 324,
                            i: 519,
                            e: 57
                        }, {
                            f: 'Bet On "The Kid" Losing The Championship Fight',
                            d: 6,
                            g: 1,
                            c: 9,
                            h: 324,
                            i: 461,
                            e: 74
                        }, {
                            f: 'Watch The Fight',
                            d: 7,
                            g: 1,
                            c: 9,
                            h: 378,
                            i: 519,
                            e: 74
                        }, {
                            f: 'Collect Your Take',
                            d: 8,
                            g: 1,
                            c: 9,
                            h: 270,
                            i: 461,
                            e: 61
                        }, {
                            f: 'Catch a Saboteur',
                            d: 41,
                            g: 6,
                            c: 8,
                            h: 1080,
                            i: 2132,
                            e: 202
                        }, {
                            f: 'Storm Into a North Side Gang Brewery',
                            d: 42,
                            g: 6,
                            c: 8,
                            h: 1026,
                            i: 2132,
                            e: 215
                        }, {
                            f: 'Dodge a Firebombing on Your Headquarters',
                            d: 43,
                            g: 6,
                            c: 8,
                            h: 1134,
                            i: 2247,
                            e: -60
                        }, {
                            f: 'Salvage Your Valuables From a Blazing Fire',
                            d: 44,
                            g: 6,
                            c: 8,
                            h: 1242,
                            i: 2420,
                            e: 255
                        }, {
                            f: 'Call for a Truce With the North Siders',
                            d: 45,
                            g: 6,
                            c: 8,
                            h: 1188,
                            i: 2362,
                            e: 233
                        }, {
                            f: 'Narrowly Survive an Assassination Attempt',
                            d: 46,
                            g: 6,
                            c: 8,
                            h: 1296,
                            i: 2535,
                            e: 286
                        }, {
                            f: 'Plan a Decisive Blow Against the North Siders',
                            d: 47,
                            g: 6,
                            c: 8,
                            h: 1188,
                            i: 2362,
                            e: 220
                        }, {
                            f: 'Flee the Scene Before the Police Arrive',
                            d: 48,
                            g: 6,
                            c: 8,
                            h: 1350,
                            i: 2650,
                            e: 312
                        }, {
                            f: 'Travel South to the Caribbean',
                            d: 33,
                            g: 5,
                            c: 8,
                            h: 1026,
                            i: 2016,
                            e: 198
                        }, {
                            f: 'Set Up a Rum Running Base of Operation',
                            d: 34,
                            g: 5,
                            c: 8,
                            h: 972,
                            i: 1786,
                            e: 202
                        }, {
                            f: 'Monitor Coast Guard Patrols',
                            d: 35,
                            g: 5,
                            c: 8,
                            h: 972,
                            i: 1901,
                            e: 180
                        }, {
                            f: 'Hijack a Rival Ship',
                            d: 36,
                            g: 5,
                            c: 8,
                            h: 1026,
                            i: 1786,
                            e: 198
                        }, {
                            f: 'Eliminate the Competition',
                            d: 37,
                            g: 5,
                            c: 8,
                            h: 1080,
                            i: 2016,
                            e: 224
                        }, {
                            f: 'Comb the Beach for Scraps',
                            d: 38,
                            g: 5,
                            c: 8,
                            h: 1134,
                            i: 2074,
                            e: 255
                        }, {
                            f: 'Ferry Customers Across the Rum Line',
                            d: 39,
                            g: 5,
                            c: 8,
                            h: 1026,
                            i: 2016,
                            e: 250
                        }, {
                            f: 'Host Happy Hours on Board',
                            d: 40,
                            g: 5,
                            c: 8,
                            h: 1188,
                            i: 2304,
                            e: -56
                        }, {
                            f: 'Set Up a Distillery in Cicero',
                            d: 25,
                            g: 4,
                            c: 8,
                            h: 972,
                            i: 1613,
                            e: -25
                        }, {
                            f: 'Meet With a Mayoral Candidate',
                            d: 26,
                            g: 4,
                            c: 8,
                            h: 864,
                            i: 1498,
                            e: 189
                        }, {
                            f: 'Threaten Voters at Polling Stations',
                            d: 27,
                            g: 4,
                            c: 8,
                            h: 918,
                            i: 1556,
                            e: 162
                        }, {
                            f: 'Get Puppet Mayor Elected',
                            d: 28,
                            g: 4,
                            c: 8,
                            h: 972,
                            i: 1671,
                            e: 180
                        }, {
                            f: 'Escape a Federal Agents Raid on Your Distillery',
                            d: 29,
                            g: 4,
                            c: 8,
                            h: 810,
                            i: 1383,
                            e: 189
                        }, {
                            f: 'Find Out About Mayor\'s Dealings With the Bureau',
                            d: 30,
                            g: 4,
                            c: 8,
                            h: 864,
                            i: 1440,
                            e: 233
                        }, {
                            f: 'Blackmail a Prohibition Bureau Top Agent',
                            d: 31,
                            g: 4,
                            c: 8,
                            h: 918,
                            i: 1671,
                            e: -33
                        }, {
                            f: 'Frame Mayor in a Political Scandal',
                            d: 32,
                            g: 4,
                            c: 8,
                            h: 1080,
                            i: 2016,
                            e: 198
                        }, {
                            f: 'Move Smuggled Liquor',
                            d: 17,
                            g: 3,
                            c: 8,
                            h: 702,
                            i: 1325,
                            e: 110
                        }, {
                            f: 'Collect Income From Your Establishments',
                            d: 18,
                            g: 3,
                            c: 8,
                            h: 702,
                            i: 1383,
                            e: 154
                        }, {
                            f: 'Stuff Local Cop\'s Pockets With Greens',
                            d: 19,
                            g: 3,
                            c: 8,
                            h: 756,
                            i: 1440,
                            e: -20
                        }, {
                            f: 'Organize a Private Party',
                            d: 20,
                            g: 3,
                            c: 8,
                            h: 810,
                            i: 1556,
                            e: 149
                        }, {
                            f: 'Evade an Ambush',
                            d: 21,
                            g: 3,
                            c: 8,
                            h: 810,
                            i: 1498,
                            e: 118
                        }, {
                            f: 'Uncover a Plot Against You',
                            d: 22,
                            g: 3,
                            c: 8,
                            h: 864,
                            i: 1613,
                            e: 189
                        }, {
                            f: 'Order a Hit on Disloyal Associates',
                            d: 23,
                            g: 3,
                            c: 8,
                            h: 864,
                            i: 1671,
                            e: 220
                        }, {
                            f: 'Put Brother Franky in Concrete Shoes',
                            d: 24,
                            g: 3,
                            c: 8,
                            h: 918,
                            i: 1728,
                            e: 162
                        }, {
                            f: 'Run an illegal Establishment',
                            d: 9,
                            g: 2,
                            c: 8,
                            h: 270,
                            i: 519,
                            e: 61
                        }, {
                            f: 'Secure Hooch to Sell in Your Joint',
                            d: 10,
                            g: 2,
                            c: 8,
                            h: 324,
                            i: 692,
                            e: 48
                        }, {
                            f: 'Recruit Loyal Gunmen',
                            d: 11,
                            g: 2,
                            c: 8,
                            h: 324,
                            i: 519,
                            e: -7
                        }, {
                            f: 'Case Warehouses on the North Side',
                            d: 12,
                            g: 2,
                            c: 8,
                            h: 378,
                            i: 807,
                            e: 74
                        }, {
                            f: 'Expose a Treachery in Your Family',
                            d: 13,
                            g: 2,
                            c: 8,
                            h: 432,
                            i: 692,
                            e: 92
                        }, {
                            f: 'Cripple the Colosimo Clan\'s Assets',
                            d: 14,
                            g: 2,
                            c: 8,
                            h: 486,
                            i: 922,
                            e: 79
                        }, {
                            f: 'Ambush the Don\'s Limo',
                            d: 15,
                            g: 2,
                            c: 8,
                            h: 594,
                            i: 1152,
                            e: 92
                        }, {
                            f: 'Get the Respect You Deserve',
                            d: 16,
                            g: 2,
                            c: 8,
                            h: 648,
                            i: 1268,
                            e: 149
                        }, {
                            f: 'Meet With the South Gang Family',
                            d: 1,
                            g: 1,
                            c: 8,
                            h: 108,
                            i: 116,
                            e: 13
                        }, {
                            f: 'Drive North of the Border',
                            d: 2,
                            g: 1,
                            c: 8,
                            h: 108,
                            i: 116,
                            e: 13
                        }, {
                            f: 'Set Up a Rum Running Operation',
                            d: 3,
                            g: 1,
                            c: 8,
                            h: 162,
                            i: 173,
                            e: 22
                        }, {
                            f: 'Smuggle a Shipment Back to Chicago',
                            d: 4,
                            g: 1,
                            c: 8,
                            h: 162,
                            i: 231,
                            e: 22
                        }, {
                            f: 'Break Into Guido Pantucci\'s Warehouse',
                            d: 5,
                            g: 1,
                            c: 8,
                            h: 162,
                            i: 173,
                            e: 22
                        }, {
                            f: 'Dodge the Guards',
                            d: 6,
                            g: 1,
                            c: 8,
                            h: 162,
                            i: 231,
                            e: 22
                        }, {
                            f: 'Get Rid of Pantucci',
                            d: 7,
                            g: 1,
                            c: 8,
                            h: 216,
                            i: 231,
                            e: 44
                        }, {
                            f: 'Dispose of the Bodies',
                            d: 8,
                            g: 1,
                            c: 8,
                            h: 216,
                            i: 288,
                            e: 48
                        }, {
                            f: 'Prepare an Ambush for a Neo-Imperium Sect',
                            d: 84,
                            g: 8,
                            c: 7,
                            h: 729,
                            i: 1469,
                            e: 32039
                        }, {
                            f: 'Interrogate Comando do Condiru Agents',
                            d: 85,
                            g: 8,
                            c: 7,
                            h: 702,
                            i: 1439,
                            e: 31125
                        }, {
                            f: 'Acquire Funds for Taubate Operations',
                            d: 86,
                            g: 8,
                            c: 7,
                            h: 675,
                            i: 1408,
                            e: 29901
                        }, {
                            f: 'Bribe a Taubate Prison Worker',
                            d: 87,
                            g: 8,
                            c: 7,
                            h: 648,
                            i: 1439,
                            e: -4455
                        }, {
                            f: 'Infiltrate Taubate Prison',
                            d: 88,
                            g: 8,
                            c: 7,
                            h: 702,
                            i: 1439,
                            e: 30967
                        }, {
                            f: 'Arrange for Prisoner Transfers',
                            d: 89,
                            g: 8,
                            c: 7,
                            h: 729,
                            i: 1439,
                            e: 31719
                        }, {
                            f: 'Disable Police Emergency Response',
                            d: 90,
                            g: 8,
                            c: 7,
                            h: 675,
                            i: 1377,
                            e: 30049
                        }, {
                            f: 'Cause Civilian Panic',
                            d: 91,
                            g: 8,
                            c: 7,
                            h: 729,
                            i: 1530,
                            e: 32775
                        }, {
                            f: 'Scout For Potential',
                            d: 92,
                            g: 8,
                            c: 7,
                            h: 756,
                            i: 1561,
                            e: 34343
                        }, {
                            f: 'Break Mafia Members Out of Taubate',
                            d: 93,
                            g: 8,
                            c: 7,
                            h: 756,
                            i: 1530,
                            e: 34343
                        }, {
                            f: 'Destroy the Neo-Imperium\'s Cover Operations',
                            d: 94,
                            g: 8,
                            c: 7,
                            h: 783,
                            i: 1622,
                            e: 35240
                        }, {
                            f: 'Assassinate the Neo-Imperium\'s Primary Heads',
                            d: 95,
                            g: 8,
                            c: 7,
                            h: 810,
                            i: 1775,
                            e: 35946
                        }, {
                            f: 'Mobilize Your Operation',
                            d: 72,
                            g: 7,
                            c: 7,
                            h: 702,
                            i: 1408,
                            e: 30967
                        }, {
                            f: 'Generate Revenue for Your Cause',
                            d: 73,
                            g: 7,
                            c: 7,
                            h: 648,
                            i: 1347,
                            e: 28977
                        }, {
                            f: 'Find Proof of Police Corruption',
                            d: 74,
                            g: 7,
                            c: 7,
                            h: 675,
                            i: 1377,
                            e: 30049
                        }, {
                            f: 'Rendezvous with Comando do Candiru Agents',
                            d: 75,
                            g: 7,
                            c: 7,
                            h: 648,
                            i: 1347,
                            e: 28832
                        }, {
                            f: 'Bribe a Carnival Director',
                            d: 76,
                            g: 7,
                            c: 7,
                            h: 648,
                            i: 1347,
                            e: -4185
                        }, {
                            f: 'Take Advantage of a Distracted Crowd',
                            d: 77,
                            g: 7,
                            c: 7,
                            h: 675,
                            i: 1377,
                            e: 29601
                        }, {
                            f: 'Blend in with a Group of Float Performers',
                            d: 78,
                            g: 7,
                            c: 7,
                            h: 729,
                            i: 1469,
                            e: 31719
                        }, {
                            f: 'Assassinate the Guest of Honor',
                            d: 79,
                            g: 7,
                            c: 7,
                            h: 729,
                            i: 1500,
                            e: 33105
                        }, {
                            f: 'Cut the RV\'s Purse Strings',
                            d: 80,
                            g: 7,
                            c: 7,
                            h: 702,
                            i: 1408,
                            e: 31125
                        }, {
                            f: 'Tail a Group of RV to Their Base',
                            d: 81,
                            g: 7,
                            c: 7,
                            h: 675,
                            i: 1377,
                            e: 29901
                        }, {
                            f: 'Remove the Police Protection',
                            d: 82,
                            g: 7,
                            c: 7,
                            h: 729,
                            i: 1469,
                            e: 31719
                        }, {
                            f: 'Demolish an RV stronghold',
                            d: 83,
                            g: 7,
                            c: 7,
                            h: 756,
                            i: 1561,
                            e: 34343
                        }, {
                            f: 'Shake Down Some Locals For Information',
                            d: 60,
                            g: 6,
                            c: 7,
                            h: 702,
                            i: 1408,
                            e: 30812
                        }, {
                            f: 'Discover Connections to Local Gangs',
                            d: 61,
                            g: 6,
                            c: 7,
                            h: 621,
                            i: 1255,
                            e: 27489
                        }, {
                            f: 'Bribe a News Network Executive',
                            d: 62,
                            g: 6,
                            c: 7,
                            h: 594,
                            i: 1224,
                            e: -4500
                        }, {
                            f: 'Make an Announcement on a Local TV Network',
                            d: 63,
                            g: 6,
                            c: 7,
                            h: 675,
                            i: 1286,
                            e: 30049
                        }, {
                            f: 'Convince The Locals Of Your Good Intentions',
                            d: 64,
                            g: 6,
                            c: 7,
                            h: 594,
                            i: 1194,
                            e: 26832
                        }, {
                            f: 'Hunt Down The Revolucao Vermelho\'s Affiliates',
                            d: 65,
                            g: 6,
                            c: 7,
                            h: 648,
                            i: 1255,
                            e: 28832
                        }, {
                            f: 'Bust Up a Local Drug Ring',
                            d: 66,
                            g: 6,
                            c: 7,
                            h: 621,
                            i: 1224,
                            e: 27766
                        }, {
                            f: 'Delay a Police Patrol',
                            d: 67,
                            g: 6,
                            c: 7,
                            h: 675,
                            i: 1377,
                            e: 30049
                        }, {
                            f: 'Hijack a Fuel Truck',
                            d: 68,
                            g: 6,
                            c: 7,
                            h: 621,
                            i: 1224,
                            e: 27766
                        }, {
                            f: 'Offer Protection to a Franchise Business',
                            d: 69,
                            g: 6,
                            c: 7,
                            h: 675,
                            i: 1347,
                            e: 30049
                        }, {
                            f: 'Execute a Slum Gang Leader',
                            d: 70,
                            g: 6,
                            c: 7,
                            h: 675,
                            i: 1408,
                            e: 29601
                        }, {
                            f: 'Make a Direct Assault on the RV Base',
                            d: 71,
                            g: 6,
                            c: 7,
                            h: 729,
                            i: 1530,
                            e: 32775
                        }, {
                            f: 'Smuggle Weapons Down the River to a Recife Port',
                            d: 49,
                            g: 5,
                            c: 7,
                            h: 648,
                            i: 1194,
                            e: 28548
                        }, {
                            f: 'Negotiate a Sit-Down with the Comando do Candiru',
                            d: 50,
                            g: 5,
                            c: 7,
                            h: 675,
                            i: 1224,
                            e: 29455
                        }, {
                            f: 'Auction Off a Rival\'s Private Island',
                            d: 51,
                            g: 5,
                            c: 7,
                            h: 702,
                            i: 1255,
                            e: 30812
                        }, {
                            f: 'Detonate an Ethanol Shipment',
                            d: 52,
                            g: 5,
                            c: 7,
                            h: 675,
                            i: 1255,
                            e: 30049
                        }, {
                            f: 'Create a Shark Scare',
                            d: 53,
                            g: 5,
                            c: 7,
                            h: 702,
                            i: 1286,
                            e: 31125
                        }, {
                            f: 'Steal Confidential Medical Records',
                            d: 54,
                            g: 5,
                            c: 7,
                            h: 648,
                            i: 1255,
                            e: 28686
                        }, {
                            f: 'Blackmail a University Instructor',
                            d: 55,
                            g: 5,
                            c: 7,
                            h: 675,
                            i: 1347,
                            e: 29901
                        }, {
                            f: 'Raid a Biochemist\'s Lab',
                            d: 56,
                            g: 5,
                            c: 7,
                            h: 702,
                            i: 1377,
                            e: 30660
                        }, {
                            f: 'Sink a Cargo Ship in Port',
                            d: 57,
                            g: 5,
                            c: 7,
                            h: 729,
                            i: 1286,
                            e: 32039
                        }, {
                            f: 'Take Over a Shipyard',
                            d: 58,
                            g: 5,
                            c: 7,
                            h: 756,
                            i: 1469,
                            e: 33834
                        }, {
                            f: 'Give Chase to the Neo-Imperium',
                            d: 59,
                            g: 5,
                            c: 7,
                            h: 756,
                            i: 1500,
                            e: 34343
                        }, {
                            f: 'Move to a Sao Paolo Safe House',
                            d: 37,
                            g: 4,
                            c: 7,
                            h: 486,
                            i: 827,
                            e: 22426
                        }, {
                            f: 'Transport a Drug Shipment',
                            d: 38,
                            g: 4,
                            c: 7,
                            h: 513,
                            i: 888,
                            e: 23261
                        }, {
                            f: 'Push Over a Gun Runner',
                            d: 39,
                            g: 4,
                            c: 7,
                            h: 486,
                            i: 888,
                            e: 22314
                        }, {
                            f: 'Pass Along a Bribe',
                            d: 40,
                            g: 4,
                            c: 7,
                            h: 540,
                            i: 949,
                            e: 24561
                        }, {
                            f: 'Contact a Comando do Candiru Agent',
                            d: 41,
                            g: 4,
                            c: 7,
                            h: 540,
                            i: 1010,
                            e: 24317
                        }, {
                            f: 'Scout Out the City',
                            d: 42,
                            g: 4,
                            c: 7,
                            h: 567,
                            i: 1010,
                            e: 25502
                        }, {
                            f: 'Rob a Jewelry Store',
                            d: 43,
                            g: 4,
                            c: 7,
                            h: 567,
                            i: 1071,
                            e: 25373
                        }, {
                            f: 'Burn Down a Slum Building',
                            d: 44,
                            g: 4,
                            c: 7,
                            h: 594,
                            i: 1133,
                            e: 26700
                        }, {
                            f: 'Escape a Police Pursuit',
                            d: 45,
                            g: 4,
                            c: 7,
                            h: 621,
                            i: 1133,
                            e: 27624
                        }, {
                            f: 'Demolish a Rooftop Helipad',
                            d: 46,
                            g: 4,
                            c: 7,
                            h: 594,
                            i: 1102,
                            e: 26433
                        }, {
                            f: 'Wipe Out a Favela Street Gang',
                            d: 47,
                            g: 4,
                            c: 7,
                            h: 621,
                            i: 1163,
                            e: 27624
                        }, {
                            f: 'Interrogate a Neo-Imperium Supporter',
                            d: 48,
                            g: 4,
                            c: 7,
                            h: 648,
                            i: 1224,
                            e: 28686
                        }, {
                            f: 'Blackmail a City Official',
                            d: 25,
                            g: 3,
                            c: 7,
                            h: 324,
                            i: 551,
                            e: 14949
                        }, {
                            f: 'Gather Intel from Street Rats',
                            d: 26,
                            g: 3,
                            c: 7,
                            h: 351,
                            i: 551,
                            e: -150
                        }, {
                            f: 'Assassinate a Neo-Imperium Spokesman',
                            d: 27,
                            g: 3,
                            c: 7,
                            h: 378,
                            i: 612,
                            e: 17169
                        }, {
                            f: 'Bribe a Police Commandant',
                            d: 28,
                            g: 3,
                            c: 7,
                            h: 351,
                            i: 582,
                            e: -3120
                        }, {
                            f: 'Pilfer from a Rebel Supply House',
                            d: 29,
                            g: 3,
                            c: 7,
                            h: 378,
                            i: 612,
                            e: 17087
                        }, {
                            f: 'Locate a Rebel Outpost',
                            d: 30,
                            g: 3,
                            c: 7,
                            h: 405,
                            i: 674,
                            e: 18064
                        }, {
                            f: 'Intercept a Rebel Convoy',
                            d: 31,
                            g: 3,
                            c: 7,
                            h: 405,
                            i: 704,
                            e: 18245
                        }, {
                            f: 'Take Out a Rebel Lookout',
                            d: 32,
                            g: 3,
                            c: 7,
                            h: 432,
                            i: 704,
                            e: 19126
                        }, {
                            f: 'Create a Diversion in the Jungle',
                            d: 33,
                            g: 3,
                            c: 7,
                            h: 459,
                            i: 765,
                            e: 20288
                        }, {
                            f: 'Blow Up a Munitions Dump',
                            d: 34,
                            g: 3,
                            c: 7,
                            h: 459,
                            i: 735,
                            e: 20087
                        }, {
                            f: 'Open Fire on Rebel Fighters',
                            d: 35,
                            g: 3,
                            c: 7,
                            h: 486,
                            i: 827,
                            e: 21360
                        }, {
                            f: 'Rescue a Hostage',
                            d: 36,
                            g: 3,
                            c: 7,
                            h: 486,
                            i: 796,
                            e: 21252
                        }, {
                            f: 'Meet a Contact at Mosqueiro',
                            d: 13,
                            g: 2,
                            c: 7,
                            h: 189,
                            i: 276,
                            e: 8457
                        }, {
                            f: 'Impersonate a Wealthy Entrepreneur',
                            d: 14,
                            g: 2,
                            c: 7,
                            h: 189,
                            i: 276,
                            e: 8500
                        }, {
                            f: 'Dispose of a Police Chief',
                            d: 15,
                            g: 2,
                            c: 7,
                            h: 216,
                            i: 368,
                            e: 9609
                        }, {
                            f: 'Intimidate the Local Crime Ring',
                            d: 16,
                            g: 2,
                            c: 7,
                            h: 189,
                            i: 368,
                            e: 8543
                        }, {
                            f: 'Track Down Neo-Imperium Members',
                            d: 17,
                            g: 2,
                            c: 7,
                            h: 216,
                            i: 368,
                            e: 9517
                        }, {
                            f: 'Smuggle a Shipment Through Aeroporto de Belem',
                            d: 18,
                            g: 2,
                            c: 7,
                            h: 243,
                            i: 398,
                            e: 10520
                        }, {
                            f: 'Steal the Plans',
                            d: 19,
                            g: 2,
                            c: 7,
                            h: 243,
                            i: 429,
                            e: 10626
                        }, {
                            f: 'Burn Down a Jungle Hideout',
                            d: 20,
                            g: 2,
                            c: 7,
                            h: 243,
                            i: 459,
                            e: 11748
                        }, {
                            f: 'Establish a Spy Ring of Belem Fishermen',
                            d: 21,
                            g: 2,
                            c: 7,
                            h: 270,
                            i: 490,
                            e: 12751
                        }, {
                            f: 'Gun Down Kidnappers',
                            d: 22,
                            g: 2,
                            c: 7,
                            h: 243,
                            i: 490,
                            e: 11804
                        }, {
                            f: 'Capture a Neo-Imperium Captain',
                            d: 23,
                            g: 2,
                            c: 7,
                            h: 297,
                            i: 551,
                            e: 13744
                        }, {
                            f: 'Bribe a City Official',
                            d: 24,
                            g: 2,
                            c: 7,
                            h: 297,
                            i: 551,
                            e: -2600
                        }, {
                            f: 'Scope Out the Financial District',
                            d: 1,
                            g: 1,
                            c: 7,
                            h: 54,
                            i: 62,
                            e: 2029
                        }, {
                            f: 'Set Up Your Operation in a Renovated Skyscraper',
                            d: 2,
                            g: 1,
                            c: 7,
                            h: 54,
                            i: 62,
                            e: 2029
                        }, {
                            f: 'Ask an Informant About Local Crime Activity',
                            d: 3,
                            g: 1,
                            c: 7,
                            h: 81,
                            i: 92,
                            e: 3059
                        }, {
                            f: 'Steal Artwork from the Paco Imperial',
                            d: 4,
                            g: 1,
                            c: 7,
                            h: 81,
                            i: 123,
                            e: 3029
                        }, {
                            f: 'Bribe a Corporate Executive',
                            d: 5,
                            g: 1,
                            c: 7,
                            h: 54,
                            i: 62,
                            e: -100
                        }, {
                            f: 'Ambush a Group of Neo-Imperium',
                            d: 6,
                            g: 1,
                            c: 7,
                            h: 81,
                            i: 123,
                            e: 3029
                        }, {
                            f: 'Destroy a Bondinho Tram',
                            d: 7,
                            g: 1,
                            c: 7,
                            h: 108,
                            i: 123,
                            e: 4082
                        }, {
                            f: 'Blackmail a Cathedral Representative',
                            d: 8,
                            g: 1,
                            c: 7,
                            h: 135,
                            i: 153,
                            e: 5022
                        }, {
                            f: 'Run a Collection Plate Con',
                            d: 9,
                            g: 1,
                            c: 7,
                            h: 135,
                            i: 184,
                            e: 6025
                        }, {
                            f: 'Track Down Lieutenant Sandoval',
                            d: 10,
                            g: 1,
                            c: 7,
                            h: 135,
                            i: 215,
                            e: 7065
                        }, {
                            f: 'Assassinate a Politician at a Museum Gala',
                            d: 11,
                            g: 1,
                            c: 7,
                            h: 189,
                            i: 276,
                            e: 8078
                        }, {
                            f: 'Uncover Rumors About Governor Halloran',
                            d: 71,
                            g: 8,
                            c: 5,
                            h: 136,
                            i: 278,
                            e: 37071
                        }, {
                            f: 'Question Some Meth Heads',
                            d: 72,
                            g: 8,
                            c: 5,
                            w: 120,
                            i: 267,
                            e: 41967
                        }, {
                            f: 'Dig Up Links To Halloran And A Meth Ring',
                            d: 73,
                            g: 8,
                            c: 5,
                            h: 165,
                            i: 342,
                            e: -10200
                        }, {
                            f: 'Discover A Big Meth Buy At The Hoover Dam',
                            d: 74,
                            g: 8,
                            c: 5,
                            h: 194,
                            i: 385,
                            e: 48053
                        }, {
                            f: 'Get Your Spotters In Place Above The Dam',
                            d: 75,
                            g: 8,
                            c: 5,
                            h: 180,
                            i: 364,
                            e: 27126
                        }, {
                            f: 'Take Out A Crooked DEA Unit',
                            d: 76,
                            g: 8,
                            c: 5,
                            w: 136,
                            i: 299,
                            e: 0
                        }, {
                            f: 'Verify Halloran\'s Arrival At The Dam',
                            d: 77,
                            g: 8,
                            c: 5,
                            h: 158,
                            i: 321,
                            e: 24110
                        }, {
                            f: 'Take Down The Security Detail',
                            d: 78,
                            g: 8,
                            c: 5,
                            w: 160,
                            i: 352,
                            e: 55393
                        }, {
                            f: 'Breach the Area 51 Perimeter',
                            d: 61,
                            g: 7,
                            c: 5,
                            h: 122,
                            i: 246,
                            e: 31145
                        }, {
                            f: 'Neutralize a Security Patrol',
                            d: 62,
                            g: 7,
                            c: 5,
                            w: 112,
                            i: 246,
                            e: 36777
                        }, {
                            f: 'Disable a Surveillance Station',
                            d: 63,
                            g: 7,
                            c: 5,
                            h: 172,
                            i: 331,
                            e: 19466
                        }, {
                            f: 'Infiltrate A Top Secret Bunker',
                            d: 64,
                            g: 7,
                            c: 5,
                            h: 151,
                            i: 310,
                            e: 18837
                        }, {
                            f: 'Attack A Guard Post',
                            d: 65,
                            g: 7,
                            c: 5,
                            w: 128,
                            i: 278,
                            e: 41574
                        }, {
                            f: 'Find A Route Through The Ducts',
                            d: 66,
                            g: 7,
                            c: 5,
                            h: 187,
                            i: 364,
                            e: 54369
                        }, {
                            f: 'Take Out A Black Ops Team',
                            d: 67,
                            g: 7,
                            c: 5,
                            w: 144,
                            i: 321,
                            e: 47970
                        }, {
                            f: 'Nab A High Tech Prototype',
                            d: 68,
                            g: 7,
                            c: 5,
                            h: 158,
                            i: 321,
                            e: 40230
                        }, {
                            f: 'Hack The Research Lab Door',
                            d: 69,
                            g: 7,
                            c: 5,
                            h: 144,
                            i: 289,
                            e: 17581
                        }, {
                            f: 'Remove An Unhelpful Union Rep',
                            d: 51,
                            g: 6,
                            c: 5,
                            w: 120,
                            i: 267,
                            e: 36733
                        }, {
                            f: 'Get A Council Member On Board',
                            d: 52,
                            g: 6,
                            c: 5,
                            h: 136,
                            i: 278,
                            e: -5900
                        }, {
                            f: 'Buy Off A Precinct Captain',
                            d: 53,
                            g: 6,
                            c: 5,
                            h: 151,
                            i: 299,
                            e: -9400
                        }, {
                            f: 'Eliminate A Hill Supplier',
                            d: 54,
                            g: 6,
                            c: 5,
                            w: 128,
                            i: 289,
                            e: 39671
                        }, {
                            f: 'Convince A Judge To Step Down',
                            d: 55,
                            g: 6,
                            c: 5,
                            h: 115,
                            i: 224,
                            e: 26637
                        }, {
                            f: 'Wipe Out The Hill Security Detail',
                            d: 56,
                            g: 6,
                            c: 5,
                            w: 144,
                            i: 321,
                            e: 44078
                        }, {
                            f: 'Remove The Hill\'s Support Base',
                            d: 57,
                            g: 6,
                            c: 5,
                            h: 180,
                            i: 352,
                            e: 41855
                        }, {
                            f: 'Reveal A Politician\'s Dirty Secret',
                            d: 58,
                            g: 6,
                            c: 5,
                            h: 158,
                            i: 309,
                            e: 36782
                        }, {
                            f: 'Infiltrate The Hill Resort',
                            d: 59,
                            g: 6,
                            c: 5,
                            h: 129,
                            i: 256,
                            e: 30438
                        }, {
                            f: 'Move The Take Out Of Town',
                            d: 40,
                            g: 5,
                            c: 5,
                            h: 108,
                            i: 212,
                            e: 20010
                        }, {
                            f: 'Fight Off A Hijack Crew',
                            d: 41,
                            g: 5,
                            c: 5,
                            w: 112,
                            i: 233,
                            e: 25327
                        }, {
                            f: 'Run A Highway Patrol Blockade',
                            d: 42,
                            g: 5,
                            c: 5,
                            h: 187,
                            i: 371,
                            e: 35017
                        }, {
                            f: 'Buy Off A Crooked Border Agent',
                            d: 43,
                            g: 5,
                            c: 5,
                            h: 122,
                            i: 245,
                            e: -5E3
                        }, {
                            f: 'Stash The Take',
                            d: 44,
                            g: 5,
                            c: 5,
                            h: 165,
                            i: 328,
                            e: 31013
                        }, {
                            f: 'Arrange A Cartel Sale',
                            d: 45,
                            g: 5,
                            c: 5,
                            h: 86,
                            i: 169,
                            e: 15007
                        }, {
                            f: 'Clean Out A Biker Bar',
                            d: 46,
                            g: 5,
                            c: 5,
                            w: 88,
                            i: 191,
                            e: 20722
                        }, {
                            f: 'Create A Diversion',
                            d: 47,
                            g: 5,
                            c: 5,
                            h: 93,
                            i: 180,
                            e: 17009
                        }, {
                            f: 'Dispose Of The Evidence',
                            d: 48,
                            g: 5,
                            c: 5,
                            h: 115,
                            i: 233,
                            e: 23299
                        }, {
                            f: 'Rescue A Hotelier',
                            d: 50,
                            g: 5,
                            c: 5,
                            h: 86,
                            i: 169,
                            e: 16006
                        }, {
                            f: 'Bribe A Casino Pit Boss',
                            d: 30,
                            g: 4,
                            c: 5,
                            h: 43,
                            i: 84,
                            e: -3800
                        }, {
                            f: 'Steal A Valet\'s Uniform',
                            d: 31,
                            g: 4,
                            c: 5,
                            h: 100,
                            i: 201,
                            e: 14079
                        }, {
                            f: 'Swipe A Security Keycard',
                            d: 32,
                            g: 4,
                            c: 5,
                            h: 86,
                            i: 158,
                            e: 11112
                        }, {
                            f: 'Take Out An Armed Casino Guard',
                            d: 33,
                            g: 4,
                            c: 5,
                            w: 104,
                            i: 211,
                            e: 16830
                        }, {
                            f: 'Create A Distraction On The Floor',
                            d: 34,
                            g: 4,
                            c: 5,
                            h: 86,
                            i: 168,
                            e: 11853
                        }, {
                            f: 'Hack The Casino Security System',
                            d: 35,
                            g: 4,
                            c: 5,
                            h: 100,
                            i: 211,
                            e: 15657
                        }, {
                            f: 'Break Into The Vault',
                            d: 36,
                            g: 4,
                            c: 5,
                            h: 136,
                            i: 264,
                            e: 18525
                        }, {
                            f: 'Get To An Exit',
                            d: 37,
                            g: 4,
                            c: 5,
                            h: 180,
                            i: 348,
                            e: 24450
                        }, {
                            f: 'Hijack A Poker Table Delivery',
                            d: 38,
                            g: 4,
                            c: 5,
                            h: 151,
                            i: 275,
                            e: 19263
                        }, {
                            f: 'Open Fire On A Rival Outfit',
                            d: 20,
                            g: 3,
                            c: 5,
                            w: 72,
                            i: 146,
                            e: 10137
                        }, {
                            f: 'Buy Some Black-Market Info',
                            d: 21,
                            g: 3,
                            c: 5,
                            h: 79,
                            i: 146,
                            e: 8731
                        }, {
                            f: 'Steal An SUV',
                            d: 22,
                            g: 3,
                            c: 5,
                            h: 100,
                            i: 189,
                            e: 11227
                        }, {
                            f: 'Run A Visiting Gang Boss Out',
                            d: 23,
                            g: 3,
                            c: 5,
                            w: 96,
                            i: 200,
                            e: 13759
                        }, {
                            f: 'Do Some Late Night Shopping',
                            d: 24,
                            g: 3,
                            c: 5,
                            h: 86,
                            i: 168,
                            e: 10514
                        }, {
                            f: 'Rob A Gem Broker',
                            d: 25,
                            g: 3,
                            c: 5,
                            h: 187,
                            i: 356,
                            e: 21206
                        }, {
                            f: 'Convince A Restaurateur To Leave Town',
                            d: 26,
                            g: 3,
                            c: 5,
                            h: 136,
                            i: 240,
                            e: 14344
                        }, {
                            f: 'Arrange A Hardware Delivery',
                            d: 27,
                            g: 3,
                            c: 5,
                            h: 122,
                            i: 231,
                            e: 13723
                        }, {
                            f: 'Break Into A Luxury Suite',
                            d: 28,
                            g: 3,
                            c: 5,
                            h: 136,
                            i: 262,
                            e: 15595
                        }, {
                            f: 'Help A Bookie Out Of A Jam',
                            d: 10,
                            g: 2,
                            c: 5,
                            h: 108,
                            i: 188,
                            e: 8515
                        }, {
                            f: 'Win An Underground Fight',
                            d: 11,
                            g: 2,
                            c: 5,
                            w: 48,
                            i: 93,
                            e: 5236
                        }, {
                            f: 'Clip A Petty Thug',
                            d: 12,
                            g: 2,
                            c: 5,
                            w: 64,
                            i: 125,
                            e: 6984
                        }, {
                            f: 'Fix A Boxing Match',
                            d: 13,
                            g: 2,
                            c: 5,
                            h: 79,
                            i: 146,
                            e: 6622
                        }, {
                            f: 'Clean Up At A Rigged Table',
                            d: 14,
                            g: 2,
                            c: 5,
                            h: 72,
                            i: 136,
                            e: 6367
                        }, {
                            f: 'Recruit A Table Game Dealer',
                            d: 15,
                            g: 2,
                            c: 5,
                            h: 64,
                            i: 115,
                            e: 5203
                        }, {
                            f: 'Strong-Arm A Limo Company',
                            d: 16,
                            g: 2,
                            c: 5,
                            h: 100,
                            i: 178,
                            e: 8042
                        }, {
                            f: 'Shut Down An Uncooperative Club',
                            d: 17,
                            g: 2,
                            c: 5,
                            h: 108,
                            i: 199,
                            e: 8986
                        }, {
                            f: 'Hit Up A Nightclub',
                            d: 18,
                            g: 2,
                            c: 5,
                            h: 50,
                            i: 93,
                            e: 4256
                        }, {
                            f: 'Move Your Crew Into A Safe House',
                            d: 1,
                            g: 1,
                            c: 5,
                            h: 57,
                            i: 93,
                            e: 3354
                        }, {
                            f: 'Blackmail A Car Dealer',
                            d: 2,
                            g: 1,
                            c: 5,
                            h: 64,
                            i: 104,
                            e: 3726
                        }, {
                            f: 'Steal A Truckload Of Slots',
                            d: 3,
                            g: 1,
                            c: 5,
                            h: 144,
                            i: 238,
                            e: 8567
                        }, {
                            f: 'Secure Some Wheels',
                            d: 4,
                            g: 1,
                            c: 5,
                            h: 129,
                            i: 249,
                            e: 9342
                        }, {
                            f: 'Roll a Bingo Parlor',
                            d: 5,
                            g: 1,
                            c: 5,
                            w: 32,
                            i: 62,
                            e: 2839
                        }, {
                            f: 'Break Into A Gun Shop',
                            d: 6,
                            g: 1,
                            c: 5,
                            h: 86,
                            i: 156,
                            e: 5587
                        }, {
                            f: 'Scout Out Alphabet City',
                            d: 7,
                            g: 1,
                            c: 5,
                            h: 108,
                            i: 198,
                            e: 7080
                        }, {
                            f: 'Open Fire On Victor\'s Crew',
                            d: 8,
                            g: 1,
                            c: 5,
                            h: 165,
                            i: 270,
                            e: 9685
                        }, {
                            f: 'Settle a Beef... Permanently',
                            d: 69,
                            g: 9,
                            c: 1,
                            h: 36,
                            i: 69,
                            e: 805E4
                        }, {
                            f: 'Buy Off a Federal Agent',
                            d: 70,
                            g: 9,
                            c: 1,
                            h: 31,
                            i: 67,
                            e: 6762E3
                        }, {
                            f: 'Make a Deal with the Mexican Cartel',
                            d: 71,
                            g: 9,
                            c: 1,
                            h: 36,
                            i: 69,
                            e: 1288E4
                        }, {
                            f: 'Blackmail the District Attorney',
                            d: 72,
                            g: 9,
                            c: 1,
                            h: 39,
                            i: 74,
                            e: 161E5
                        }, {
                            f: 'Shake Down a City Council Member',
                            d: 73,
                            g: 9,
                            c: 1,
                            h: 76,
                            i: 152,
                            e: 2898E4
                        }, {
                            f: 'Make Arrangements for a Visiting Don',
                            d: 74,
                            g: 9,
                            c: 1,
                            h: 36,
                            i: 69,
                            e: 805E5
                        }, {
                            f: 'Take Control of a Casino',
                            d: 75,
                            g: 9,
                            c: 1,
                            h: 63,
                            i: 121,
                            e: 2576E4
                        }, {
                            f: 'Travel to the Old Country',
                            d: 76,
                            g: 9,
                            c: 1,
                            h: 46,
                            i: 90,
                            e: 19964E3
                        }, {
                            f: 'Extort a Corrupt Judge',
                            d: 61,
                            g: 8,
                            c: 1,
                            h: 21,
                            i: 41,
                            e: 6118E3
                        }, {
                            f: 'Embezzle Funds Through a Phony Company',
                            d: 62,
                            g: 8,
                            c: 1,
                            h: 45,
                            i: 81,
                            e: 6762E3
                        }, {
                            f: 'Break Into the Armory',
                            d: 63,
                            g: 8,
                            c: 1,
                            h: 45,
                            i: 69,
                            e: 5635E3
                        }, {
                            f: 'Rip Off the Armenian Mob',
                            d: 64,
                            g: 8,
                            c: 1,
                            h: 45,
                            i: 78,
                            e: 483E4
                        }, {
                            f: 'Muscle in on a Triad Operation',
                            d: 65,
                            g: 8,
                            c: 1,
                            h: 40,
                            i: 78,
                            e: 644E4
                        }, {
                            f: 'Ambush a Rival at a Sit Down',
                            d: 66,
                            g: 8,
                            c: 1,
                            h: 49,
                            i: 92,
                            e: 4507999
                        }, {
                            f: 'Order a Hit on a Public Official',
                            d: 67,
                            g: 8,
                            c: 1,
                            h: 31,
                            i: 63,
                            e: 10465E3
                        }, {
                            f: 'Take Over an Identity Theft Ring',
                            d: 68,
                            g: 8,
                            c: 1,
                            h: 32,
                            i: 60,
                            e: 7728E3
                        }, {
                            f: 'Influence a Harbor Official',
                            d: 53,
                            g: 7,
                            c: 1,
                            h: 45,
                            i: 74,
                            e: 4668999
                        }, {
                            f: 'Move Stolen Merchandise',
                            d: 54,
                            g: 7,
                            c: 1,
                            h: 32,
                            i: 58,
                            e: 5152E3
                        }, {
                            f: 'Snuff a Rat',
                            d: 55,
                            g: 7,
                            c: 1,
                            h: 39,
                            i: 71,
                            e: 4991E3
                        }, {
                            f: 'Help a Fugitive Flee the Country',
                            d: 56,
                            g: 7,
                            c: 1,
                            h: 36,
                            i: 66,
                            e: 5474E3
                        }, {
                            f: 'Dispose of a Body',
                            d: 57,
                            g: 7,
                            c: 1,
                            h: 22,
                            i: 41,
                            e: 4025E3
                        }, {
                            f: 'Ransom a Businessman\'s Kids',
                            d: 58,
                            g: 7,
                            c: 1,
                            h: 54,
                            i: 81,
                            e: 7647500
                        }, {
                            f: 'Fix the Big Game',
                            d: 59,
                            g: 7,
                            c: 1,
                            h: 45,
                            i: 69,
                            e: 805E4
                        }, {
                            f: 'Steal an Arms Shipment',
                            d: 60,
                            g: 7,
                            c: 1,
                            h: 40,
                            i: 75,
                            e: 483E4
                        }, {
                            f: 'Steal an Air Freight Delivery',
                            d: 45,
                            g: 6,
                            c: 1,
                            h: 28,
                            i: 41,
                            e: 1449E3
                        }, {
                            f: 'Run a Biker Gang Out of Town',
                            d: 46,
                            g: 6,
                            c: 1,
                            h: 31,
                            i: 46,
                            e: 161E4
                        }, {
                            f: 'Flip a Snitch',
                            d: 47,
                            g: 6,
                            c: 1,
                            h: 22,
                            i: 35,
                            e: 1288E3
                        }, {
                            f: 'Steal Bank Records',
                            d: 48,
                            g: 6,
                            c: 1,
                            h: 27,
                            i: 41,
                            e: 1352400
                        }, {
                            f: 'Loot the Police Impound Lot',
                            d: 49,
                            g: 6,
                            c: 1,
                            h: 54,
                            i: 69,
                            e: 2093E3
                        }, {
                            f: 'Recruit a Rival Crew Member',
                            d: 50,
                            g: 6,
                            c: 1,
                            h: 27,
                            i: 45,
                            e: 1529500
                        }, {
                            f: 'Dodge an FBI Tail',
                            d: 51,
                            g: 6,
                            c: 1,
                            h: 18,
                            i: 30,
                            e: 1352400
                        }, {
                            f: 'Whack a Rival Crew Leader',
                            d: 52,
                            g: 6,
                            c: 1,
                            h: 25,
                            i: 44,
                            e: 2415E3
                        }, {
                            f: 'Repel the Yakuza',
                            d: 29,
                            g: 5,
                            c: 1,
                            h: 11,
                            i: 20,
                            e: 173880
                        }, {
                            f: 'Disrupt Rival Smuggling Ring',
                            d: 30,
                            g: 5,
                            c: 1,
                            h: 13,
                            i: 23,
                            e: 228620
                        }, {
                            f: 'Invade Tong-controlled Neighborhood',
                            d: 31,
                            g: 5,
                            c: 1,
                            h: 22,
                            i: 35,
                            e: 386400
                        }, {
                            f: 'Sell Guns to the Russian Mob',
                            d: 32,
                            g: 5,
                            c: 1,
                            h: 22,
                            i: 40,
                            e: 161E4
                        }, {
                            f: 'Protect your City against a Rival Family',
                            d: 33,
                            g: 5,
                            c: 1,
                            h: 31,
                            i: 58,
                            e: 3542E3
                        }, {
                            f: 'Assassinate a Political Figure',
                            d: 34,
                            g: 5,
                            c: 1,
                            h: 31,
                            i: 58,
                            e: 4025E3
                        }, {
                            f: 'Exterminate a Rival Family',
                            d: 35,
                            g: 5,
                            c: 1,
                            h: 36,
                            i: 67,
                            e: 483E4
                        }, {
                            f: 'Obtain Compromising Photos',
                            d: 43,
                            g: 5,
                            c: 1,
                            h: 25,
                            i: 37,
                            e: 322E3
                        }, {
                            f: 'Frame a Rival Capo',
                            d: 44,
                            g: 5,
                            c: 1,
                            h: 23,
                            i: 38,
                            e: 611800
                        }, {
                            f: 'Federal Reserve Raid',
                            d: 18,
                            g: 4,
                            c: 1,
                            h: 22,
                            i: 35,
                            e: 161E3
                        }, {
                            f: 'Smuggle Thai Gems',
                            d: 19,
                            g: 4,
                            c: 1,
                            h: 16,
                            i: 25,
                            e: 177100
                        }, {
                            f: 'Liquor Smuggling',
                            d: 22,
                            g: 4,
                            c: 1,
                            h: 27,
                            i: 40,
                            e: 684250
                        }, {
                            f: 'Run Illegal Poker Game',
                            d: 26,
                            g: 4,
                            c: 1,
                            h: 18,
                            i: 38,
                            e: 966E3
                        }, {
                            f: 'Wiretap the Cops',
                            d: 28,
                            g: 4,
                            c: 1,
                            h: 27,
                            i: 51,
                            e: 322E4
                        }, {
                            f: 'Rob an Electronics Store',
                            d: 41,
                            g: 4,
                            c: 1,
                            h: 21,
                            i: 30,
                            e: 483E3
                        }, {
                            f: 'Burn Down a Tenement',
                            d: 42,
                            g: 4,
                            c: 1,
                            h: 16,
                            i: 25,
                            e: 322E3
                        }, {
                            f: 'Distill Some Liquor',
                            d: 23,
                            g: 4,
                            c: 1,
                            h: 9,
                            i: 14,
                            e: 0
                        }, {
                            f: 'Manufacture Tokens',
                            d: 24,
                            g: 4,
                            c: 1,
                            h: 9,
                            i: 14,
                            e: 0
                        }, {
                            f: 'Get Cheating Deck',
                            d: 25,
                            g: 4,
                            c: 1,
                            h: 9,
                            i: 14,
                            e: 0
                        }, {
                            f: 'Overtake Phone Central',
                            d: 27,
                            g: 4,
                            c: 1,
                            h: 9,
                            i: 14,
                            e: 0
                        }, {
                            f: 'Destroy Enemy Mob Hideout',
                            d: 13,
                            g: 3,
                            c: 1,
                            h: 5,
                            i: 6,
                            e: 8050
                        }, {
                            f: 'Kill a Protected Snitch',
                            d: 14,
                            g: 3,
                            c: 1,
                            h: 5,
                            i: 6,
                            e: 11270
                        }, {
                            f: 'Bust a Made Man Out of Prison',
                            d: 15,
                            g: 3,
                            c: 1,
                            h: 5,
                            i: 6,
                            e: 13363
                        }, {
                            f: 'Asian Museum Break-in',
                            d: 16,
                            g: 3,
                            c: 1,
                            h: 6,
                            i: 8,
                            e: 19320
                        }, {
                            f: 'Fight a Haitian Gang',
                            d: 17,
                            g: 3,
                            c: 1,
                            h: 5,
                            i: 8,
                            e: 17709
                        }, {
                            f: 'Clip the Irish Mob\'s Local Enforcer',
                            d: 39,
                            g: 3,
                            c: 1,
                            h: 9,
                            i: 13,
                            e: 30993
                        }, {
                            f: 'Steal a Tanker Truck',
                            d: 40,
                            g: 3,
                            c: 1,
                            h: 7,
                            i: 9,
                            e: 25760
                        }, {
                            f: 'Mugging',
                            d: 6,
                            g: 2,
                            c: 1,
                            h: 2,
                            i: 2,
                            e: 3220
                        }, {
                            f: 'Auto Theft',
                            d: 7,
                            g: 2,
                            c: 1,
                            h: 3,
                            i: 4,
                            e: 3703
                        }, {
                            f: 'Take Out a Rogue Cop',
                            d: 9,
                            g: 2,
                            c: 1,
                            h: 3,
                            i: 4,
                            e: 4507
                        }, {
                            f: 'Collect on a Loan',
                            d: 10,
                            g: 2,
                            c: 1,
                            h: 4,
                            i: 5,
                            e: 4830
                        }, {
                            f: 'Bank Heist',
                            d: 11,
                            g: 2,
                            c: 1,
                            h: 9,
                            i: 15,
                            e: 8050
                        }, {
                            f: 'Jewelry Store Job',
                            d: 12,
                            g: 2,
                            c: 1,
                            h: 14,
                            i: 24,
                            e: 12880
                        }, {
                            f: 'Hijack a Semi',
                            d: 38,
                            g: 2,
                            c: 1,
                            h: 7,
                            i: 12,
                            e: 7728
                        }
                    ];
                for (c = 0; c < g.length; c++) b = new bb, F(b, g[c]), b.na = 'job_' + b.d + "_" + b.c, 5 === b.c && (b.hi = "map"), a.oa.push(b.na, b)
            }
            d.ja = function () {
                a.m || (a.db = 0, a.Tb = 0, a.Hc = B, a.d = l, a.Bb = -1, a.gi = 0, a.nh = B, a.Bi = 0, a.ld = B, a.Ic = B, a.vb = a.b.vb, a.xa === l && (a.xa = setInterval(function () {
                    a.n.Ba++;
                    a.K()
                }, 1E3)), a.sd());
                return B
            }
            d.tk = function () {
                clearInterval(a.xa);
                a.xa = l;
                a.Ta()
            }
            d.ua = function () {
                a.m && !a.Ic && (a.d && a.Zf(a.d, i) ? (a.d.lc = i, a.Ic = i, a.r('Eliminating ' + c[a.d.za] + ' Bandit before stopping…'), a.wm()) : a.tk());
                return B
            }
            d.p = function () {
                s('e215e1' + b, a.b.Tc);
                s('e216e1' + b, a.b.zd);
                s('e217e1' + b, a.b.vb);
                s('e86e1' + b, a.b.pa);
                s('e219e1' + b, a.b.gc);
                s('e220e1' + b, a.b.Qd);
                s('e221e1' + b, a.b.Rd);
                s('e222e1' + b, a.b.Hd);
                s('e223e1' + b, a.b.Ae);
                s('e224e1' + b, a.b.Be)
            }
            d.Do = function (c) {
                a.b.Tc = k(c);
                a.p();
                a.j();
                return i
            }
            d.Kq = function (c) {
                a.b.zd = k(c);
                a.p();
                a.j();
                return i
            }
            d.Lp = function (c) {
                a.b.vb = k(c);
                a.p();
                a.j();
                return i
            }
            d.dg = function (c) {
                a.b.pa = k(c);
                a.p();
                a.j();
                return i
            }
            d.eg = function (c) {
                a.b.qa = wb(c);
                a.j();
                return i
            }
            d.Vp = function (c) {
                a.b.wd = w(c);
                a.j();
                return i
            }
            d.Bo = function (c) {
                a.b.gc = k(c);
                a.p();
                a.j();
                return i
            }
            d.Ao = function (c) {
                a.b.Qd = k(c);
                a.p();
                a.j();
                return i
            }
            d.uo = function (c) {
                a.b.yf = w(c, 10, 300);
                a.j();
                return i
            }
            d.Co = function (c) {
                a.b.Rd = k(c);
                a.p();
                a.j();
                return i
            }
            d.ar = function (c) {
                a.b.Bg = w(c, 10, 300);
                a.j();
                return i
            }
            d.pd = function (c) {
                a.b.ga = w(c, 1, 5);
                a.j();
                return i
            }
            d.Op = function (c) {
                a.b.Be = k(c);
                a.p();
                a.j();
                return i
            }
            d.ko = function (c) {
                a.b.Hd = k(c);
                a.p();
                a.j();
                return i
            }
            d.lo = function (c) {
                a.b.tf = w(c);
                a.j();
                return i
            }
            d.Np = function (c) {
                a.b.Ae = k(c);
                a.p();
                a.j();
                return i
            }
            d.ia = function () {
                a.b = {
                    Tc: i,
                    zd: B,
                    vb: B,
                    gc: i,
                    Qd: i,
                    yf: 300,
                    Rd: i,
                    Bg: 300,
                    ga: 3,
                    Be: B,
                    Hd: B,
                    tf: 20,
                    Ae: B,
                    pa: B,
                    qa: 2.2,
                    wd: 0
                };
                a.ba.clear()
            }
            d.j = function () {
                var c = {};
                c.energy_jobs = a.b.Tc;
                c.stamina_jobs = a.b.zd;
                c.operation_jobs = a.b.vb;
                c.eliminate_job_bandits = a.b.gc;
                c.eliminate_cash_bandits = a.b.Qd;
                c.cash_bandit_time = a.b.yf;
                c.eliminate_xp_bandits = a.b.Rd;
                c.xp_bandit_time = a.b.Bg;
                c.max_threads = a.b.ga;
                c.post_2x = a.b.Be;
                c.ask_crew = a.b.Hd;
                c.ask_crew_value = a.b.tf;
                c.pause_crew = a.b.Ae;
                c.ratio_min = a.b.pa;
                c.ratio_min_value = a.b.qa;
                c.ratio_min_type = a.b.wd;
                c.job_order = a.ba.gb;
                ta(b, c)
            }
            d.S = function () {
                var c, g;
                a.ia();
                try {
                    var d = {}, e = ua(b);
                    d.Tc = e.energy_jobs;
                    d.zd = e.stamina_jobs;
                    d.vb = e.operation_jobs;
                    d.gc = e.eliminate_job_bandits;
                    d.Qd = e.eliminate_cash_bandits;
                    d.yf = e.cash_bandit_time;
                    d.Rd = e.eliminate_xp_bandits;
                    d.Bg = e.xp_bandit_time;
                    d.ga = e.max_threads;
                    d.Be = e.post_2x;
                    d.Hd = e.ask_crew;
                    d.tf = e.ask_crew_value;
                    d.Ae = e.pause_crew;
                    d.pa = e.ratio_min;
                    d.qa = e.ratio_min_value;
                    d.wd = e.ratio_min_type;
                    F(a.b, d);
                    if (e.job_order) for (c in g = e.job_order, g) g.hasOwnProperty(c) && a.ba.push(g[c], i);
                    else if (e.job_state) for (c in g = e.job_state, g) g.hasOwnProperty(c) && g[c] && a.ba.push(c, i)
                } catch (f) {}
                p('e215' + b, a.b.Tc);
                p('e216' + b, a.b.zd);
                p('e217' + b, a.b.vb);
                p('e219' + b, a.b.gc);
                p('e220' + b, a.b.Qd);
                t('e225' + b, a.b.yf);
                p('e221' + b, a.b.Rd);
                t('e226' + b, a.b.Bg);
                t("e88" + b, a.b.ga);
                p('e224' + b, a.b.Be);
                p('e222' + b, a.b.Hd);
                t('e227' + b, a.b.tf);
                p('e223' + b, a.b.Ae);
                p("e86" + b, a.b.pa);
                t("e89" + b, a.b.qa);
                t('e228' + b, a.b.wd);
                a.qr();
                a.p()
            }
            a.dd = l;
            a.fe = l;
            a.ge = l;
            a.Ub = 9;
            a.gh = 0;
            d.cd = function (a, c) {
                var b, g;
                a.za ? (b = a.cc - aa(), 0 > b && (a.za = 0, a.cc = 0)) : b = -1;
                g = c ? '<li class="c45 c4" data-id="' + a.na + '" id="' + a.na + '">' : "";
                g += '<div style="height:27px;"><div style="float:left;padding-left:10px;margin-top:4px;width:' + (0 > b ? 560 : 460) + 'px;" class="c97">' + a.$j() + '</div>';
                0 <= b && (g += '<div style="float:left;padding-left:10px;margin-top:4px;width:100px;" class="c97"><span class="' + ["", "c21", "c22", "c23"][a.za] + '">' + ["", "Exp", 'Cash', "Job"][a.za] + ' <span class="c2 more_in">[' + gb(b) + ']</span></span></div>');
                g += '<div style="float:right;">' + Ha('Remove', 'red c94', a.na) + '</div><div style="clear:both;"/></div>';
                return g + (c ? '</li>' : "")
            }
            d.qr = function () {
                var c, b, g;
                if (a.ba.length) {
                    g = "";
                    for (c = 0; c < a.ba.length; c++)(b = a.oa.get(a.ba.gb[c])) && (g += a.cd(b, i));
                    a.dd.html(g);
                    a.fe.show()
                } else a.dd.html(""), a.fe.hide()
            }
            d.Ah = function () {
                var c, b, d, e = -1,
                    f = -1;
                d = "" + ('<div style="text-align:center;">' + Ha(ha[1], 1 === a.Ub ? 'white c99' : "c99", 1) + '<span class="c1"/>' + Ha(ha[5], 5 === a.Ub ? 'white c99' : "c99", 5) + '<span class="c1"/>' + Ha(ha[7], 7 === a.Ub ? 'white c99' : "c99", 7) + '<span class="c1"/>' + Ha(ha[8], 8 === a.Ub ? 'white c99' : "c99", 8) + '<span class="c1"/>' + Ha(ha[9], 9 === a.Ub ? 'white c99' : "c99", 9) + '<span class="c1"/>' + Ha('Limited Time', 0 === a.Ub ? 'white c99' : "c99", 0) + '</div><div style="height:10px;"/>');
                for (c = 0; c < a.oa.length; c++) if (b = a.oa.ea(c), b.c === a.Ub || 0 === a.Ub && 100 <= b.g) {
                        if (b.c !== e || b.g !== f) d = g[b.c] && g[b.c][b.g] ? d + ('<div style="margin-top:4px;margin-bottom:4px;"><div class="c100" data-id="' + b.g + '">' + g[b.c][b.g] + '</div></div>') : d + ('<div style="margin-top:4px;margin-bottom:4px;"><div class="c100" data-id="' + b.g + '">' + ha[b.c] + ' District ' + b.g + '</div></div>'), e = b.c, f = b.g;
                        b.g === a.gh && (d += '<div style="height:32px;"><div style="float:left;margin-top:4px;width:510px;" class="c97">' + b.$j() + '</div>', d = a.ba.get(b.na) ? d + ('<div style="float:right;">' + Ha('Remove', 'red c94', b.na) + '</div>') : d + ('<div style="float:right;">' + Ha("Add", 'green c101', b.na) + '</div>'), d += '<div style="clear:both;"/></div>')
                    }
                a.ge.html(d)
            }
            d.Kp = function () {
                a.Ah();
                MW.Popup.show('e229' + b);
                lb = i;
                L.ra();
                return B
            }
            d.wo = function () {
                MW.Popup.hide('e229' + b);
                lb = B;
                L.ra();
                return B
            }
            d.sk = function (c, b) {
                var g = $(c).data("id");
                b ? (a.dd.append(a.cd(a.oa.get(g), i)), a.fe.show(), a.ba.push(g, i)) : ($("#" + g).remove(), a.ba.remove(g), a.ba.length || a.fe.hide());
                a.Ah();
                a.j();
                return B
            }
            d.jp = function (c) {
                a.Ub = q($(c).data("id"));
                a.gh = 0;
                a.Ah();
                return B
            }
            d.kp = function (c) {
                c = q($(c).data("id"));
                a.gh = a.gh !== c ? c : 0;
                a.Ah();
                return B
            }
            d.hp = function (c) {
                c = $(c).data("id");
                $("#" + c).remove();
                a.ba.remove(c);
                a.ba.length || a.fe.hide();
                a.j();
                return B
            }
            d.ip = function () {
                a.ba.clear();
                a.dd.children().each(function () {
                    a.ba.push($(this).data("id"), i)
                });
                a.j()
            }
            d.Z = function () {
                a.Cl();
                a.Lk();
                var c = Hb('e229', '<div style="width:620px;padding:15px;"><h2 style="text-align:center;color:#ff8;">Jobs Manager</h2><br/><div style="text-align:center;">Select the jobs you wish to perform…</div><br/><div id="e237%ID%" style="width:600px;padding-left:10px;"/></div>');
                pa(a, R('Options', "e90", '<div style="width:52%;float:left;">' + O('General', 'e179', la('e175', o('Perform energy jobs', 'e215') + o('Perform stamina jobs', 'e216') + o('Perform operation jobs', 'e217') + N + N + 'Perform up to <input type="text" style="width:20px;" id="e88%ID%"/> jobs per second<br/>' + N + N + o('Pause when', "e86", h, " " + xa('e228', ['Combined', 'Energy', 'Stamina']) + ' ratio is below <input type="text" style="width:30px;" id="e89%ID%"/>'))) + '</div><div style="width:48%;float:left;">' + O('Bandits', 'e230', la('e231', o('Kill <span class="c23"/>Job bandits', 'e219') + o('Kill <span class="c22"/>Cash bandits below', 'e220', h, ' <input type="text" style="width:30px;" id="e225%ID%"/> seconds') + o('Kill <span class="c21"/>Exp bandits below', 'e221', h, ' <input type="text" style="width:30px;" id="e226%ID%"/> seconds') + N + o('Ask for <span class="c102"/>Crew when less than', 'e222', h, ' <input type="text" style="width:25px;" id="e227%ID%"/>') + o('Pause when out of <span class="c102"/>Crew', 'e223', h, ' <span class="more_in" id="e232%ID%"/>') + N + o('Ask for 2x loot boosts', 'e224'))) + '</div><div style="clear:both;"/>' + O('Jobs', 'e233', '<div id="e234%ID%" class="c43"><ul id="e235%ID%" class="c103"/></div>' + Q('Jobs Manager', l, l, 'e236'))) + R('Stats', "e93", '<div id="e94%ID%"><table class="c104"><thead><tr class="c4"><th class="c104name__">Name</th><th class="c106">Done</th><th class="c107">Used</th><th class="c108">Experience</th><th class="c109">Top Mafia</th></tr></thead><tbody id="e95%ID%"/><tfoot id="e96%ID%"/></table><div id="e97%ID%""/></div>') + '<div style="padding:10px;">' + Ta + Ua + Va + Wa + '</div>', 1, function () {
                    a.U()
                });
                Db(a, c);
                f('#e236' + b, function () {
                    return a.Kp()
                });
                f('#e229e3' + b, function () {
                    return a.wo()
                });
                a.fe = $('#e234' + b);
                a.dd = $('#e235' + b);
                a.dd.delegate('.c94', 'click', function () {
                    return a.hp(this)
                });
                a.dd.sortable({
                    axis: "y",
                    containment: '#e233' + b,
                    update: function () {
                        a.ip()
                    }
                });
                a.ge = $('#e237' + b);
                a.ge.delegate('.c101', 'click', function () {
                    return a.sk(this, i)
                });
                a.ge.delegate('.c94', 'click', function () {
                    return a.sk(this, B)
                });
                a.ge.delegate('.c99', 'click', function () {
                    return a.jp(this)
                });
                a.ge.delegate('.c100', 'click', function () {
                    return a.kp(this)
                });
                for (var g, c = 0; c < a.oa.length; c++) g = a.oa.ea(c), g.n = {
                        uc: 0,
                        hc: 0,
                        Na: 0,
                        V: 0,
                        pe: 0,
                        qf: 0,
                        Ld: 0
                };
                f('#e90e0' + b, function () {
                    ga("e90" + b);
                    return B
                });
                f('#e93e0' + b, function () {
                    a.xb = ga("e93" + b);
                    a.K();
                    return B
                });
                f("#e4" + b, function () {
                    return a.ja()
                });
                f("#e6" + b, function () {
                    return a.ua()
                });
                f("#e7" + b, function () {
                    a.od();
                    return B
                });
                f('#e215' + b, function () {
                    return a.Do(this)
                });
                f('#e216' + b, function () {
                    return a.Kq(this)
                });
                f('#e217' + b, function () {
                    return a.Lp(this)
                });
                f('#e219' + b, function () {
                    return a.Bo(this)
                });
                f('#e220' + b, function () {
                    return a.Ao(this)
                });
                u('#e225' + b, function () {
                    return a.uo(this)
                });
                f('#e221' + b, function () {
                    return a.Co(this)
                });
                u('#e226' + b, function () {
                    return a.ar(this)
                });
                u('#e88' + b, function () {
                    return a.pd(this)
                });
                f('#e224' + b, function () {
                    return a.Op(this)
                });
                f('#e222' + b, function () {
                    return a.ko(this)
                });
                u('#e227' + b, function () {
                    return a.lo(this)
                });
                f('#e223' + b, function () {
                    return a.Np(this)
                });
                f('#e86' + b, function () {
                    return a.dg(this)
                });
                u('#e89' + b, function () {
                    return a.eg(this)
                });
                u('#e228' + b, function () {
                    return a.Vp(this)
                });
                $('#e94' + b).hide();
                a.sg = $('#e94' + b);
                a.qg = $('#e95' + b);
                a.Jh = $('#e96' + b);
                a.rg = $('#e97' + b);
                a.Yb()
            }
            d.K = function () {
                var c, b, g, d;
                if (Z() && (a.Y && a.xb) && a.n.Ba) {
                    c = "";
                    for (b = 0; b < a.oa.length; b++) d = a.oa.ea(b), g = d.n, g.uc && (c += '<tr><td><div class="c97" style="width:250px;">' + d.f + '</div></td><td><span class="good">' + m(g.uc) + '</span></td>', c = d.h ? c + ('<td><span class="energy">' + m(g.hc) + '</span></td><td><span class="experience">' + m(g.V) + '</span> ' + Aa("[" + parseFloat(g.V / g.hc).toFixed(2) + "]") + '</td>') : c + ('<td><span class="stamina">' + m(g.Na) + '</span></td><td><span class="experience">' + m(g.V) + '</span> ' + Aa("[" + parseFloat(g.V / g.Na).toFixed(2) + "]") + '</td>'), c += '<td>', g.qf && (c += ' <span class="energy" title="Wheelman - No energy/stamina used"/>x' + m(g.qf) + " " + Aa("[" + q(100 * g.qf / g.uc) + "%]")), g.pe && (c += ' <span class="experience" title="Mastermind - 50% more experience"/>x' + m(g.pe) + " " + Aa("[" + q(100 * g.pe / g.uc) + "%]")), g.Ld && (c += ' <span class="cash" title="Bagman - 100% more cash"/>x' + m(g.Ld) + " " + Aa("[" + q(100 * g.Ld / g.uc) + "%]")), c += '</td></tr>');
                    a.qg.html(c);
                    c = "";
                    a.ca.D && (c += 'Stamina Opponent ' + a.ca.G + ' Level ' + m(a.ca.D) + ' <span class="mafia_size">' + a.ca.Rb + '</span> <span class="good">Won</span> ' + m(a.ca.yl) + ' <span class="bad">Lost</span> ' + m(a.ca.mk) + '<br/>');
                    for (b = 0; b < a.oa.length; b++) d = a.oa.ea(b), d.za && $("#" + d.na).html(a.cd(d));
                    c += 'Running for: ' + va(a.n.Ba);
                    a.rg.html(c);
                    a.sg.show();
                    L.ra()
                }
            }
            d.U = function () {
                fb('e175' + b, 'e231' + b);
                a.K()
            }
            d.Zf = function (c, b) {
                return 1 === c.za && a.b.Rd && (b || c.cc - aa() < a.b.Bg) || 2 === c.za && a.b.Qd && (b || c.cc - aa() < a.b.yf) || 3 === c.za && a.b.gc ? i : B
            }
            d.Vj = function () {
                return a.d && a.Zf(a.d, i) ? i : B
            }
            d.lc = function () {
                a.d && (a.d.lc = i)
            }
            d.zm = function (b) {
                var g, d;
                a.Zf(b, a.d.lc) ? (g = 'xw_controller=job&xw_action=eliminateBandit&job=' + b.d + '&stage=' + b.g + '&tmp=' + a.Mf, n(x('Eliminating ' + c[b.za] + ' Bandit', b.f)), d = a.Hc = i) : (g = 'xw_controller=' + b.hi + '&xw_action=dojob&job=' + b.d + '&tab=' + b.g + '&tmp=' + a.Mf, b.w && (g += '&opponent_id=' + a.ca.l + '&job_sig=' + a.ca.bl), d = B);
                A.H(D(g), function (c) {
                    a.pn(c, b, d)
                })
            }
            d.Aj = function () {
                if (a.Hc || !a.d || a.md() || a.d.w && !a.ca.xe && 0 < a.db || !a.Xl(a.d)) return B;
                a.Ic || a.r('Doing Job ' + a.d.f + '…', 100 * a.d.d + a.d.c);
                a.db++;
                a.zm(a.d);
                return i
            }
            d.Hf = function () {
                return Math.min(a.b.ga, 3)
            }
            d.ym = function () {
                if (a.m) {
                    a.db = 0;
                    a.Tb = 0;
                    for (a.Hc = B; a.db < a.Hf() && a.Aj(););
                    0 >= a.db && (a.k = 1, a.v())
                }
            }
            d.qj = function (c, b, g) {
                if (-1 !== c.responseText.indexOf('This link has expired. Please reload')) a.Hc = i;
                else {
                    var d = /user_fields..current_city_id.. . parseInt..([\d])../.exec(c.responseText);
                    d && !a.Hc && (d = q(d[1]), d !== b.c && (a.Hc = i, C(r('Problem Doing Job', 'Wrong City (' + ha[d] + ")"))));
                    E.Ja(c)
                }
                C(r('Problem Doing Job', g))
            }
            d.pn = function (c, b, g) {
                if (a.J(c)) {
                    var d = b.n;
                    a.Tb++;
                    a.db--;
                    if (a.M(c, 'Problem Doing Job')) {
                        var e = l,
                            f = l;
                        if (7 <= b.c) try {
                                if (e = J(c.responseText)) {
                                    if (a.er(e, g, b, d), a.Tb >= a.Hf() || 0 >= a.db) a.Tb = 0, E.jb(e), a.K(), Xa()
                                } else C(r('Problem Doing Job', 'Missing JSON Data'))
                        } catch (j) {
                            a.qj(c, b, j)
                        } else if (5 <= b.c) try {
                                if ((e = J(c.responseText)) && (f = J(e.data)), e && f) {
                                    if (a.jr(f, b, d), a.Tb >= a.Hf() || 0 >= a.db) a.Tb = 0, E.jb(e), a.K(), Xa()
                                } else C(r('Problem Doing Job', 'Missing JSON Data'))
                        } catch (k) {
                            a.qj(c, b, k)
                        } else {
                            b = a.fr(c.responseText, d);
                            b = i;
                            if (a.Tb >= a.Hf() || 0 >= a.db) a.Tb = 0, E.Ja(c) || (b = B), a.K(), Xa();
                            b || (a.Hc = i, a.k = 1)
                        }
                    }
                    for (; a.db < a.Hf() && !(a.d = a.tj(), !a.Aj()););
                    0 >= a.db && (a.Ic && (!a.d || !a.Zf(a.d, i)) && a.tk(), a.k = 1, a.v())
                }
            }
            d.Kn = function (c) {
                a.m && (a.Ic || a.r('Loading Job Page…'), A.H(D('xw_controller=' + c.hi + '&xw_action=' + c.zl + '&tab=' + c.g + '&bar=1').replace('no_load=1', 'no_load=0'), function (b) {
                    a.Ln(b, c)
                }), 7 <= c.c && a.lh())
            }
            d.hr = function (c, b) {
                var g, d, e, f, j, k, m;
                for (d = g = 0; c && -1 !== (g = c.indexOf('<td class="job_name">', d)) && -1 !== (d = c.indexOf('</tr>', g));) if (e = c.substr(g, d - g), j = /job=(\d+)&tab=(\d+)/.exec(e)) {
                        m = q(j[1]);
                        f = 'job_' + m + "_" + b;
                        a.oa.R[f] ? k = a.oa.R[f] : (k = new bb, F(k, {
                            na: f,
                            c: b,
                            d: m
                        }));
                        k.g = q(j[2]);
                        if (j = /\t+([^\t]+)\t*<br\/>/.exec(e)) k.f = j[1];
                        if (j = /class="energy">(\d+)</.exec(e)) k.h = X(j[1]);
                        if (j = /class="experience">\+*(\d+)</.exec(e)) k.i = X(j[1]);
                        if (j = /class="money">([^<]+)</.exec(e)) k.e = X(j[1]);
                        a.ba.R[k.na] && $("#" + k.na).html(a.cd(k))
                    }
            }
            d.ir = function (c, b) {
                var g, d, e, f, j, k;
                if ((d = Qa(c, 'var Jobs = ', /;[\r\n]+/, i)) && d.data) for (e in d.data) d.data.hasOwnProperty(e) && (f = d.data[e], 9 !== f.type && (j = q(e), g = 'job_' + j + "_" + b, a.oa.R[g] ? k = a.oa.R[g] : (k = new bb, F(k, {
                            na: g,
                            c: b,
                            d: j
                        })), k.g = f.story, k.f = f.name, k.h = f.energy, k.w = f.stamina, k.e = f.cash_req ? -f.cash_req : f.cash, k.i = f.experience, a.ba.R[k.na] && $("#" + k.na).html(a.cd(k))))
            }
            d.gr = function (c, b, g) {
                var d, e, f, j, k, m, p, o;
                for (e = d = 0; c && -1 !== (d = c.indexOf('<div id="job-id-', e)) && -1 !== (e = c.indexOf('<div id="bandit-contextual-', d));) if (k = c.substr(d, e - d), p = /job-id-(\d+)/.exec(k)) {
                        p = q(p[1]);
                        m = 'job_' + p + "_" + b;
                        a.oa.R[m] ? o = a.oa.R[m] : (o = new bb, F(o, {
                            na: m,
                            c: b,
                            g: g,
                            d: p
                        }));
                        if (p = /\t+([^\t]+)\t+<\/h4>/.exec(k)) o.f = p[1];
                        if (-1 !== (f = k.indexOf('<ul class="uses')) && -1 !== (j = k.indexOf('</ul>', f))) {
                            m = k.substr(f, j - f);
                            if (p = /class="energy" base_value="(\d+)"/.exec(m)) o.h = q(p[1]);
                            if (p = /class="cash_icon_jobs_\d+" base_value="(\d+)"/.exec(m)) o.e = -q(p[1])
                        }
                        if (-1 !== (f = k.indexOf('<ul class="pays')) && -1 !== (j = k.indexOf('</ul>', f))) {
                            m = k.substr(f, j - f);
                            if (p = /class="experience" base_value="(\d+)"/.exec(m)) o.i = q(p[1]);
                            if (p = /class="cash_icon_jobs_\d+" base_value="(\d+)"/.exec(m)) o.e = q(p[1])
                        }
                        if (p = /autoEliminateBandit.+&type=(\d)/.exec(k)) if (o.za = q(p[1]), p = /time_left: (\d+)/.exec(k)) o.cc = aa() + q(p[1]);
                        a.ba.R[o.na] && $("#" + o.na).html(a.cd(o))
                    }
                if (a.b.Be && -1 !== c.indexOf('BrazilJobs.showLootCollectionFeed') && (p = /(var feed = .+Give 2x Loot Boost.+MW\.Feed\(feed\);)/.exec(c))) {
                    c = p[1].replace(/MW\.Feed/g, 'D$.feed');
                    c = c.replace(/BrazilJobs\.lootCollectionFeedPosted\(/g, 'do_ajax("",');
                    n(x('2x Loot Boost', 'Posting Feed Request'));
                    try {
                        eval(c)
                    } catch (r) {}
                }
            }
            d.Ln = function (c, b) {
                if (a.J(c)) {
                    if (a.M(c, 'Load Job Page')) {
                        var g;
                        E.Ja(c);
                        (g = /xw_action=dojob.+tmp=([a-f0-9]+)/.exec(c.responseText)) ? (a.Mf = g[1], ra(x('Found Job Key', a.Mf))) : (a.Mf = "", C(r('Problem Finding Job Key')));
                        7 <= b.c ? a.gr(c.responseText, b.c, b.g) : 5 <= b.c ? a.ir(c.responseText, b.c) : a.hr(c.responseText, b.c);
                        a.k = a.L
                    }
                    a.v()
                }
            }
            d.fr = function (a, c) {
                var b;
                b = a.indexOf('div class="message_body clearfix"'); - 1 !== b && (a = a.substr(b));
                b = a.indexOf('div id="popup_fodder"'); - 1 !== b && (a = a.substr(0, b));
                if (/: Completed/.test(a)) {
                    if (b = /(\d+) Energy/.exec(a)) c.hc += q(b[1]);
                    if (b = /(\d+)( \+(\d+))? Experience/.exec(a)) {
                        var g = q(b[1]);
                        b[3] && (g += q(b[3]));
                        c.V += g
                    } - 1 !== a.indexOf('Top Mafia Wheelman') && c.qf++; - 1 !== a.indexOf('Top Mafia Mastermind') && c.pe++; - 1 !== a.indexOf('Top Mafia Bagman') && c.Ld++;
                    for (g = /You (earned|gained) (some|a|an) (.+?)\./g; b = g.exec(a);) T.Eg(b[3]);
                    (b = /You (earned|gained) (\d+) (.+?)\./.exec(a)) && T.Eg(b[3]);
                    c.uc++;
                    return i
                }
                return B
            }
            d.Lk = function () {
                a.ca = {
                    l: "p|0",
                    bl: "",
                    F: "",
                    D: 0,
                    Rb: 0,
                    G: "",
                    xe: B,
                    yl: 0,
                    mk: 0
                }
            }
            d.er = function (c, b, g, d) {
                if (c) if (b) {
                        a.Ic || a.lh();
                        g.za = 0;
                        g.cc = 0;
                        a.d.lc = B;
                        if (b = c.data) if (b = b.info) if (b = b.reward) if ((c = /item_id="(\d+)"/.exec(b)) && T.bc(q(c[1])), c = /class="experience">(\d+)<\/span>/.exec(b)) d.V += q(c[1]);
                        $("#" + g.na).html(a.cd(g))
                    } else(b = c.jobResult) ? (T.Ph(b.loot), b.extraData.freeAsWheelman && d.qf++, b.extraData.bonusExperience && d.pe++, b.extraData.bonusCash && d.Ld++, b.lootBandit && b.lootBandit.length ? g.za !== b.lootBandit[0].type && (g.za = b.lootBandit[0].type, g.cc = aa() + q(/time_left: (\d+)/.exec(b.lootBandit[0].markup)[1])) : (g.za = 0, g.cc = 0), d.uc++, b.energy && (d.hc += b.energy), b.experience && (d.V += b.experience), b.extraData.bonusExperience && (d.V += b.extraData.bonusExperience)) : c.data && (c.data.impulseBuy && c.data.impulseBuy.message) && -1 !== c.data.impulseBuy.message.indexOf('You must eliminate the Job Bandit') && (g.za = 3)
            }
            d.jr = function (c, b, g) {
                var d = c.job_results;
                d && d.success ? (g.uc++, d.exp_gained && (g.V += d.exp_gained), d.bonus_xp && (g.V += d.bonus_xp), b.w ? (g.Na += d.stamina_consumed, d.fight_win ? (a.ca.xe = i, a.ca.yl++) : (a.ca.xe = B, a.ca.mk++)) : g.hc += d.energy_consumed, d.no_energy_cost && g.qf++, d.bonus_xp && g.pe++, d.bonus_cash && g.Ld++, d.loot && T.rf(d.loot.image, d.loot.quantity), d.casino_loot && T.rf(d.casino_loot.image, d.casino_loot.quantity), d.chop_shop_loot && T.rf(d.chop_shop_loot.image, d.chop_shop_loot.quantity)) : d.fail_message && -1 !== d.fail_message.indexOf('The player was not found') && (a.ca.xe = B);
                if (!a.ca.xe && (a.Lk(), c = c.job_fight_list)) for (var e in c) c.hasOwnProperty(e) && 500 >= c[e].group_size && (a.ca.l = c[e].id, a.ca.bl = c[e].job_sig, a.ca.F = c[e].name, a.ca.D = c[e].level, a.ca.Rb = c[e].group_size, a.ca.G = Y(a.ca.F, a.ca.l), a.ca.xe = B)
            }
            d.lh = function () {
                a.m && !a.nh && (a.nh = i, a.Bi = aa(), A.H(D('xw_controller=module&xw_action=reloadModule&module=CityCrewModule&extra_data={"city":8,"type":"job"}&position=0&width=0&height=0'), function (c) {
                    a.yn(c)
                }))
            }
            d.yn = function (c) {
                var g, d;
                if (a.J(c)) {
                    if (a.M(c, 'Load Crew') && (g = /20px;">(\d+)<\/span>/.exec(c.responseText))) if (d = a.Bb, a.Bb = q(g[1]), d !== a.Bb && (n(x('City Crew', 'Contains <span class="c102"/>' + a.Bb + ' Crew')), $('#e232' + b).html("(" + a.Bb + ' available)')), a.gi + 30 < aa() && (a.b.Hd && a.Bb <= a.b.tf) && (c = Qa(c.responseText, 'feed = ', '; MW.Feed', i))) n(x('City Crew', 'Posting Crew Feed Request')), a.gi = aa(), c.autoPublish = i, MW.Feed(c);
                    27 === a.k && a.v()
                }
                a.nh = B
            }
            d.ag = function () {
                return a.b.Ae && 0 === a.Bb
            }
            d.zh = function () {
                if (a.b.pa) {
                    if (0 === a.b.wd) return j.Cg() < a.b.qa;
                    if (1 === a.b.wd) return j.Ga / j.h < a.b.qa;
                    if (2 === a.b.wd) return j.Ga / j.w < a.b.qa
                }
                return B
            }
            d.gm = function () {
                var c, b;
                if (a.b.Tc) for (c = 0; c < a.ba.length; c++) if ((b = a.oa.R[a.ba.gb[c]]) && 0 < b.h && 1E4 >= b.h) if (a.ag() && 7 <= b.c) a.ld = i;
                            else return b;
                return l
            }
            d.uj = function () {
                var c, b;
                if (a.b.zd) for (c = 0; c < a.ba.length; c++) if ((b = a.oa.R[a.ba.gb[c]]) && 0 < b.w && 1E4 >= b.w) if (a.ag() && 7 <= b.c) a.ld = i;
                            else return b;
                return l
            }
            d.im = function (c, b) {
                var g, d;
                for (g = 0; g < a.ba.length; g++) if (d = a.oa.R[a.ba.gb[g]]) if (0 < d.h) {
                            if (!(c < d.h) && a.b.Tc && !(0 > d.e && j.e[d.c].e + j.e[d.c].Md < 0 - d.e)) if (a.ag() && 7 <= d.c) a.ld = i;
                                else if (3 !== d.za || a.b.gc) return d
                        } else if (0 < d.w && (!(b < d.w) && a.b.zd) && !(0 > d.e && j.e[d.c].e + j.e[d.c].Md < 0 - d.e)) if (a.ag() && 7 <= d.c) a.ld = i;
                    else if (3 !== d.za || a.b.gc) return d;
                return l
            }
            d.hm = function () {
                a.ld = B;
                return a.vb || a.zh() ? l : a.im(j.h, j.w)
            }
            d.tj = function () {
                var c = a.hm();
                return c !== a.d && a.d && a.Zf(a.d, i) ? (a.d.lc = i, a.d) : c
            }
            d.Xl = function (c) {
                return a.d.lc ? i : a.Ic ? B : a.ba.R[c.na] && (0 < c.h && c.h <= j.h || 0 < c.w && c.w <= j.w) ? i : B
            }
            a.ye = 0;
            a.sh = 0;
            a.gg = 0;
            a.Vb = 0;
            d.fc = function () {
                a.sh >= a.ze.length && a.Vb >= a.gg && (a.k = a.L, a.v())
            }
            d.Hk = function (c, b) {
                a.m && A.H(D('xw_controller=socialmission&xw_action=removemission&owner=' + c + '&instance=' + b), function (g) {
                    a.wr(g, c, b)
                })
            }
            d.wr = function (c, b, g) {
                a.J(c) && (a.M(c, 'Problem Removing Operation') ? (n(x('Operation Removed', 'Expired')), a.Vb++, a.fc()) : a.Hk(b, g))
            }
            d.Qg = function (c, b) {
                a.m && A.H(D('xw_controller=socialmission&xw_action=collectreward&owner=' + c + '&instance=' + b), function (g) {
                    a.om(g, c, b)
                })
            }
            d.om = function (c, b, g) {
                if (a.J(c)) if (a.M(c, 'Problem Collecting Operation Reward')) {
                        g = /item_id=\\"(\d+)\\"/g;
                        for (g.lastIndex = 0; b = g.exec(c.responseText);) T.bc(b[1]), n(x('Operation Reward', T.lk(b[1])));
                        if (b = /<script type=..text.javascript..>(function continuation_(postCelebrateFeed[0-9a-f]+).+)<\/script>/.exec(c.responseText)) c = b[1].replace(/\\"/g, '&quot;'), n(x('Share Reward', '<a href="#0" onclick="' + c + " " + b[2] + '(); return false;">Share</a>'));
                        a.Vb++;
                        a.fc()
                    } else a.Qg(b, g)
            }
            d.ki = function (c, b, g) {
                a.m && A.H(D('xw_controller=socialmission&xw_action=dotask&owner_id=' + c + '&instance_id=' + b + '&position=' + g), function (d) {
                    a.br(d, c, b, g)
                })
            }
            d.br = function (c, b, g, d) {
                var e, f, j;
                if (a.J(c)) {
                    if (a.M(c, 'Problem Doing Operation Job')) try {
                            e = J(c.responseText);
                            E.jb(e);
                            f = J(e.data);
                            j = f.do_task_status;
                            2 === j ? f.is_task_mastered ? (n(x('Operation Job', 'Mastered')), a.Qg(b, g)) : a.ki(b, g, d) : 0 === j ? (n(r('Operation Job', 'Need More <span class="energy"/>Energy')), a.Vb++, a.fc()) : -1 === j ? (n(r('Operation Job', 'Need More <span class="stamina"/>Stamina')), a.Vb++, a.fc()) : -2 === j ? (n(r('Operation Job', 'Need More <span class="health"/>Health')), a.Vb++, a.fc()) : -3 === j ? (n(r('Operation Job', 'Need More Cash')), a.Vb++, a.fc()) : 19 === j ? (n(x('Operation Job Already Mastered')), a.Qg(b, g)) : (C(r('Operation Job Status', j)), a.Vb++, a.fc());
                            return
                    } catch (k) {
                        C(r('Problem Doing Operation Job', k))
                    }
                    a.ki(b, g, d)
                }
            }
            d.ze = [{
                    hg: 'initiator',
                    page: "1",
                    f: 'Initiator Page 1'
                }, {
                    hg: 'helper',
                    page: "4",
                    f: 'Helper Page 4'
                }, {
                    hg: 'helper',
                    page: "3",
                    f: 'Helper Page 3'
                }, {
                    hg: 'helper',
                    page: "2",
                    f: 'Helper Page 2'
                }, {
                    hg: 'helper',
                    page: "1",
                    f: 'Helper Page 1'
                }
            ];
            d.di = function (c) {
                a.m && (a.r('Checking Operations… <span class="more_in">(' + 100 * a.sh / a.ze.length + '%)</span>'), A.H(D('xw_controller=socialmission&xw_action=view&type=' + a.ze[c].hg + '&page=' + a.ze[c].page), function (b) {
                    a.cr(b, c)
                }))
            }
            d.cr = function (c, b) {
                var g, d;
                if (a.J(c)) if (a.M(c, 'Problem Checking Operations')) {
                        n(x('Operations Checked', a.ze[b].f));
                        d = /SocialMissionController\.collectReward.'([0-9]+)','([0-9a-f]+)'./g;
                        for (d.lastIndex = 0; g = d.exec(c.responseText);) a.gg++, a.Qg(g[1], g[2]);
                        d = /SocialMissionController\.removeMission.'([0-9]+)','([0-9a-f]+)'.; return false;"><span><span class="">Close<\/span><\/span>/g;
                        for (d.lastIndex = 0; g = d.exec(c.responseText);) a.gg++, a.Hk(g[1], g[2]);
                        d = /medium.white" onclick="SocialMissionView\.startTask.'([0-9a-f]+)','([0-9]+)','([0-9]+)'./g;
                        for (d.lastIndex = 0; g = d.exec(c.responseText);) a.gg++, a.ki(g[3], g[1], g[2]);
                        a.sh++;
                        a.ye < a.ze.length ? (a.di(a.ye), a.ye++) : a.fc()
                    } else a.di(b)
            }
            d.md = function () {
                return 0 !== a.d.c && a.d.c !== j.Da
            }
            d.wf = function () {
                return ca.m && !ca.Q && ca.P.z > a.P.z ? ca : oa.m && !oa.Q && oa.P.z > a.P.z ? oa : na.m && !na.Q && na.P.z > a.P.z ? na : l
            }
            d.v = function () {
                a.Q = B;
                if (1 === a.k) a.L = -1 === a.Bb ? 27 : 2, a.ac();
                else if (27 === a.k) - 1 === a.Bb ? a.lh() : (a.k = 2, a.v());
                else if (2 === a.k) if (a.d = a.tj(), a.d) if (a.md()) {
                            var c = a.wf();
                            c ? (a.Q = i, a.r('Waiting for ' + c.Ca + ' to finish before traveling to ' + ha[a.d.c] + '…', 10 + a.d.c), I(function () {
                                a.m && a.v()
                            }, 1E3)) : (a.k = 3, a.v())
                        } else a.k = 4, a.v();
                        else a.zh() ? (a.Q = i, a.r('Waiting for Experience Ratio to increase…', 6), I(function () {
                                a.m && a.v()
                            }, 1E3)) : a.vb ? (a.vb = B, a.k = 26, a.v()) : (a.ag() && a.ld ? (a.Q = i, a.r('Waiting for more <span class="c102"/>Crew…', 5), a.Bi + 5 <= aa() && a.lh()) : (a.Q = i, a.gm() ? a.uj() ? a.r('Waiting for more <span class="energy"/>Energy or <span class="stamina"/>Stamina…', 1) : a.r('Waiting for more <span class="energy"/>Energy…', 2) : a.uj() ? a.r('Waiting for more <span class="stamina"/>Stamina…', 3) : a.r('Waiting for some jobs to be selected…', 4)), I(function () {
                                a.m && a.v()
                            }, 1E3));
                        else 3 === a.k ? (a.L = 4, a.wg(a.d.c, B)) : 4 === a.k ? (a.L = 5, a.Kn(a.d)) : 5 === a.k ? (a.L = 1, a.ym()) : 26 === a.k ? (a.L = 1, a.ye = 0, a.sh = 0, a.gg = 0, a.Vb = 0, a.di(a.ye), a.ye++) : 23 === a.k && a.Ta()
            }
            a.Z();
            a.S();
            a.P.A && a.A(function () {
                a.ja()
            }, 10)
        }

        function Vb(e, b) {
            var a = this,
                d = Vb.prototype;
            Ca = a;
            F(d, G.prototype);
            a.cb(e, b);
            a.P = K.q[6];
            a.P.g = a;
            a.hs = 0;
            a.Fd = 0;
            a.Ya = [];
            d.Pr = ['attack', 'defense', 'max_health', 'max_energy', 'max_stamina'];
            d.Ed = ['<span class="attack"/>Attack', '<span class="defense"/>Defense', '<span class="health"/>Health', '<span class="energy"/>Energy', '<span class="stamina"/>Stamina'];
            a.ji = B;
            d.yr = function () {
                a.ji = i
            }
            d.ja = function () {
                a.m || (a.yr(), a.sd());
                return B
            }
            d.ua = function () {
                a.Ta();
                return B
            }
            d.p = function () {
                s('e249' + b, a.b.Jc);
                s('e250e1' + b, a.b.Ce);
                s('e251e1' + b, a.b.De);
                s('e252e1' + b, a.b.ke)
            }
            d.rp = function (c) {
                a.b.zf = k(c);
                a.j();
                return i
            }
            d.Rp = function (c) {
                a.b.Ce = k(c);
                a.p();
                a.j();
                return i
            }
            d.Sp = function (c) {
                a.b.De = k(c);
                a.p();
                a.j();
                return i
            }
            d.tp = function (c) {
                a.b.ke = k(c);
                a.p();
                a.j();
                return i
            }
            d.up = function (c) {
                a.b.Qf = Ba(c);
                a.j();
                return i
            }
            d.vp = function (c) {
                a.b.Fb = Ba(c);
                a.j();
                return i
            }
            d.sp = function (c) {
                a.b.je = w(c);
                a.j();
                return i
            }
            d.cs = function (c, b) {
                a.b.Tr[b] = w(c);
                a.j();
                return i
            }
            d.Xq = function (c) {
                a.b.Jc = k(c);
                a.p();
                a.j();
                return i
            }
            d.fg = function (c, b) {
                a.b.Ya[b] = w(c);
                a.K();
                a.j();
                return i
            }
            d.Tj = function () {
                for (var c = 0, b = 0; 5 > b; b++) c += a.b.Ya[b];
                return c
            }
            d.hn = function () {
                for (var c = 0, b = 0; 5 > b; b++) c += a.Ya[b];
                return c
            }
            d.ia = function () {
                a.b = {
                    zf: i,
                    sb: l,
                    eb: 0,
                    jh: l,
                    le: l,
                    Rf: "",
                    Fb: "0",
                    fd: "",
                    ke: "",
                    Qf: 'reward,attack,defense,skill',
                    je: 0,
                    Ce: B,
                    De: B,
                    Jc: B,
                    Ya: [0, 0, 0, 0, 0]
                }
            }
            d.j = function () {
                var c, g = {};
                g.collect_level_up_bonus = a.b.zf;
                g.level_up_bonus = a.b.sb;
                g.level_up_level = a.b.eb;
                g.level_up_image = a.b.jh;
                g.level_up_name = a.b.le;
                g.level_up_group = a.b.Fb;
                g.level_up_group_post = a.b.fd;
                g.level_up_filter = a.b.ke;
                g.level_up_filter_val = a.b.Qf;
                g.level_up_delete = a.b.je;
                g.post_level_up = a.b.Ce;
                g.post_level_up_group = a.b.De;
                g.upgrade_stats = a.b.Jc;
                g.upgrade_points = [];
                for (c = 0; 5 > c; c++) g.upgrade_points[c] = a.b.Ya[c];
                ta(b, g)
            }
            d.S = function () {
                var c;
                a.ia();
                try {
                    var g = {}, d = ua(b);
                    g.zf = d.collect_level_up_bonus;
                    g.sb = d.level_up_bonus;
                    g.eb = d.level_up_level;
                    g.jh = d.level_up_image;
                    g.le = d.level_up_name;
                    g.Fb = d.level_up_group;
                    g.fd = d.level_up_group_post;
                    g.ke = d.level_up_filter;
                    g.Qf = d.level_up_filter_val;
                    g.je = d.level_up_delete;
                    g.Ce = d.post_level_up;
                    g.De = d.post_level_up_group;
                    g.Jc = d.upgrade_stats;
                    g.Ya = [];
                    for (c = 0; 5 > c; c++) g.Ya[c] = d.upgrade_points[c];
                    F(a.b, g)
                } catch (e) {}
                p('e254' + b, a.b.zf);
                p('e255' + b, a.b.Jc);
                for (c = 0; 5 > c; c++) t('e256_' + c + b, a.b.Ya[c]);
                p('e252' + b, a.b.ke);
                t('e260' + b, a.b.Qf);
                t('e261' + b, a.b.je);
                p('e250' + b, a.b.Ce);
                p('e251' + b, a.b.De);
                a.xg();
                a.p()
            }
            d.K = function () {
                var c;
                if (Z() && a.Y) {
                    a.zi || (a.zi = $('#e262' + b));
                    a.zi && (c = "", j.D && (c = 'Level ' + m(j.D) + " " + hb(j.D), c = j.D !== a.b.eb || !a.b.sb ? r(c, 'Unknown') : x(c, a.b.sb + ' (<a href="#0" onclick="D$.shareLevelUpBonus(); return false;">Share</a>)')), a.zi.html(c));
                    a.hj || (a.hj = $('#e256' + b));
                    if (a.hj) {
                        var g = a.Tj();
                        c = '<span class="skill_point"/>Available ' + m(j.Hh) + '<span class="c110"/>';
                        c += 'Needed ' + m(g);
                        a.hj.html(c)
                    }
                    L.ra()
                }
            }
            d.U = function () {
                a.K()
            }
            d.xg = function () {
                "" === a.b.Fb && (a.b.Fb = "0");
                da.pb[a.b.Fb] || (da.pb[a.b.Fb] = '(Unknown Group)');
                $('#e263' + b).html(nb(da.pb));
                t('e263' + b, a.b.Fb)
            }
            d.Z = function () {
                pa(a, R('Options', "e90", O(ma('Upgrade Stats', 'e255'), 'e249', a.Ed[0] + ' <input type="number" id="e256_0%ID%" style="width:40px;"/><span class="c1"/>' + a.Ed[1] + ' <input type="number" id="e256_1%ID%" style="width:40px;"/><span class="c1"/>' + a.Ed[2] + ' <input type="number" id="e256_2%ID%" style="width:40px;"/><span class="c1"/>' + a.Ed[3] + ' <input type="number" id="e256_3%ID%" style="width:40px;"/><span class="c1"/>' + a.Ed[4] + ' <input type="number" id="e256_4%ID%" style="width:40px;"/><br/><div class="c24"/><span id="e256%ID%"/>') + N + O(ma('Collect Level Up Bonus', 'e254'), 'e264', '<span id="e262%ID%"/><br/>' + o('Autopost to wall', 'e250', 'Automatically posts level up bonuses to your wall.') + o('Autopost to group', 'e251', 'Automatically posts level up bonuses to a group.', ' <select id="e263%ID%" style="height:22px;width:255px;"/>') + o('Only post bonuses containing', 'e252', 'Use commas to separate keywords.', ' <input id="e260%ID%" type="text" style="width:180px;"/>') + 'When a previous bonus expires ' + xa('e261', ['Add Expired Comment', 'Delete the post'])) + "") + '<div style="padding:10px;">' + Ta + Ua + Va + Wa + '</div>', 1, function () {
                    a.U()
                });
                f('#e90e0' + b, function () {
                    ga("e90" + b);
                    return B
                });
                f("#e4" + b, function () {
                    return a.ja()
                });
                f("#e6" + b, function () {
                    return a.ua()
                });
                f("#e7" + b, function () {
                    a.od();
                    return B
                });
                f('#e254' + b, function () {
                    return a.rp(this)
                });
                f('#e250' + b, function () {
                    return a.Rp(this)
                });
                f('#e251' + b, function () {
                    return a.Sp(this)
                });
                f('#e252' + b, function () {
                    return a.tp(this)
                });
                u('#e260' + b, function () {
                    return a.up(this)
                });
                u('#e263' + b, function () {
                    return a.vp(this)
                });
                u('#e261' + b, function () {
                    return a.sp(this)
                });
                f('#e255' + b, function () {
                    return a.Xq(this)
                });
                u('#e256_0' + b, function () {
                    return a.fg(this, 0)
                });
                u('#e256_1' + b, function () {
                    return a.fg(this, 1)
                });
                u('#e256_2' + b, function () {
                    return a.fg(this, 2)
                });
                u('#e256_3' + b, function () {
                    return a.fg(this, 3)
                });
                u('#e256_4' + b, function () {
                    return a.fg(this, 4)
                });
                a.Yb()
            }
            d.Jc = function () {
                if (a.m) {
                    a.nf = 0;
                    a.Fd = 0;
                    if (a.hn() <= j.Hh) for (var c = 0; 5 > c; c++) {
                            var b = a.Ya[c];
                            0 < b && (a.nf = c, a.Fd = 100 <= b ? 100 : 25 <= b ? 25 : 5 <= b ? 5 : 1)
                    }
                    0 < a.Fd ? (a.r('Upgrading ' + a.Ed[a.nf] + ' by ' + a.Fd + '…'), A.H(D('xw_controller=stats&xw_action=upgrade&upgrade_key=' + a.Pr[a.nf] + '&upgrade_amt=' + a.Fd + '&no_load=1'), function (c) {
                        a.Qr(c)
                    })) : (a.k = a.L, a.v())
                }
            }
            d.Qr = function (c) {
                if (a.J(c)) {
                    if (a.M(c, 'Problem Upgrading Stats')) try {
                            var b = J(c.responseText);
                            n(x('Upgrade Stats', a.Ed[a.nf] + ' upgraded by ' + a.Fd));
                            a.Ya[a.nf] = Math.max(a.Ya[a.nf] - a.Fd, 0);
                            E.jb(b)
                    } catch (d) {
                        C(r('Problem Upgrading Stats', d))
                    }
                    a.v()
                }
            }
            d.sb = function () {
                a.m && (a.r('Checking Level Up Bonus…'), A.H(D('xw_controller=levelUpBonus&xw_action=addBonusItem&no_load=1'), function (c) {
                    a.sn(c)
                }, h, 1))
            }
            d.ds = function (a, b) {
                var d = 'http://apps.facebook.com/inthemafia/track.php?next_controller=index&next_action=power_pack_get&from=p%7C' + j.l + '&next_params=%7B%22from_uid%22%3A%22p%7C' + j.l + '%22%2C+%22ppfeedkey%22%3A%22' + a + '%22%2C+%22ppfeedtime%22%3A%22' + b + '%22%7D';
                MW.Feed({
                    picture: M + '/graphics/mw_powerpack_feed.png',
                    source: "",
                    link: d,
                    name: j.F + ' is hurting!',
                    caption: " ",
                    description: 'Send a Power Pack to restore their Stamina or Health.',
                    userMessage: "",
                    actionLinks: [{
                            name: 'Send Power pack',
                            link: d
                        }
                    ],
                    attachment: l,
                    targetId: 0,
                    callback: function () {
                        A.H(D('xw_controller=TopGroup&xw_action=power_pack_feed_posted&key=' + a + '&feed_time=' + b))
                    },
                    autoPublish: i,
                    ref: 'ST_10'
                })
            }
            d.al = function (c, b) {
                if (a.b.sb && j.D && a.b.eb === j.D) {
                    var d = 'http://apps.facebook.com/inthemafia/track.php?next_controller=index&next_action=levelUpBonusClaim&next_params=%7B%22friend_id%22%3A%22p%7C' + j.l + '%22%7D';
                    da.feed({
                        picture: M + '/graphics/feed_revamp_levelup.png',
                        link: d,
                        name: 'Raise your glass! ' + j.F + ' just got promoted!',
                        caption: 'Level: ' + m(a.b.eb) + ' Reward: ' + Ea(a.b.sb),
                        description: j.F + ' is one step closer to being made, and just got promoted to Level ' + j.D + '. It\'s time to toast to ' + j.F + '\'s health. Show your support and you might be one of the first 3 to collect a fantastic reward for your loyalty.',
                        userMessage: "",
                        actionLinks: [{
                                name: 'Claim Reward',
                                link: d
                            }
                        ],
                        callback: function (a) {
                            b && b(a)
                        },
                        autoPublish: c ? c : B,
                        ref: 'level_up_bonus'
                    })
                }
            }
            d.mm = function () {
                a.b.eb = 0;
                a.b.sb = l;
                a.U();
                a.j()
            }
            d.am = function (c) {
                var b, d;
                if (!a.b.ke) return i;
                c = c.toLowerCase();
                b = a.b.Qf.toLowerCase().split(",");
                for (d = 0; d < b.length; d++) if (-1 !== c.indexOf($.trim(b[d]))) return i;
                return B
            }
            d.Am = function () {
                "" !== a.b.fd && (a.b.je ? da.lj(a.b.fd) : da.Wh(a.b.fd, 'Expired'), a.b.fd = "");
                "" !== a.b.Rf && (a.b.je ? da.lj(a.b.Rf) : da.Wh(a.b.Rf, 'Expired'), a.b.Rf = "");
                if (a.am(a.b.le) && (a.b.Ce && a.al(i, function (c) {
                    c && !c.error && (a.b.Rf = c.id, a.j())
                }), a.b.De && "0" != a.b.Fb)) {
                    var c = 'http://apps.facebook.com/inthemafia/track.php?next_controller=index&next_action=levelUpBonusClaim&next_params=%7B%22friend_id%22%3A%22p%7C' + j.l + '%22%7D';
                    da.Xh(a.b.Fb, {
                        message: 'Level ' + m(a.b.eb) + " " + hb(a.b.eb) + " " + a.b.le,
                        picture: a.b.jh,
                        link: c
                    }, function (c) {
                        c && !c.error && (a.b.fd = c.id, a.j())
                    })
                }
            }
            d.sn = function (c) {
                if (a.J(c)) {
                    if (200 == c.status && a.b.eb !== j.D) try {
                            var b = J(c.responseText);
                            if (b && b.bonusName) {
                                a.b.le = Ib(b.bonusName);
                                a.b.sb = b.itemId && fa.R[b.itemId] ? T.lk(b.itemId) : a.b.le;
                                a.b.eb = j.D;
                                a.b.jh = b.bonusImage;
                                var d = x('Level ' + m(a.b.eb) + " " + hb(a.b.eb), a.b.sb);
                                n(d + ' (<a href="#0" onclick="D$.shareLevelUpBonus(); return false;">Share</a>)');
                                L.$n(d);
                                I(function () {
                                    a.Am()
                                }, 500)
                            } else n(r('Level ' + m(j.D) + " " + hb(j.D), 'Not Found or Already Claimed'));
                            a.U();
                            a.j()
                    } catch (e) {
                        n(r('Level ' + m(j.D) + " " + hb(j.D), 'Not Found or Already Claimed'))
                    }
                    a.k = a.L;
                    a.v()
                }
            }
            d.jo = function () {
                if (a.b.Jc && a.Tj() <= j.Hh) {
                    for (var c = 0; 5 > c; c++) a.Ya[c] = a.b.Ya[c];
                    return i
                }
                return B
            }
            d.v = function () {
                1 === a.k ? (a.L = 2, a.ac()) : 2 === a.k ? (a.jo() ? a.k = 9 : a.ji && a.b.zf ? (a.ji = B, a.k = 12) : a.k = 23, a.v()) : 9 === a.k ? (a.L = 1, a.Jc()) : 12 === a.k ? (a.L = 13, a.sb()) : 13 === a.k ? (a.k = 1, a.v()) : 23 === a.k && a.Ta()
            }
            a.Z();
            a.S();
            a.P.A && a.A(function () {
                a.ja()
            }, 10)
        }

        function Wb(e, b) {
            var a = this,
                d = Wb.prototype;
            ca = a;
            F(d, G.prototype);
            a.cb(e, b);
            a.P = K.q[1];
            a.P.g = a;
            a.wk = i;
            a.li = [];
            a.Cj = [];
            a.Bj = [];
            d.Lg = [0, 1, 0, 0, 0, 0, 0, 1, 1, 1];
            d.ja = function () {
                a.m || a.sd();
                return B
            }
            d.ua = function () {
                a.Ta();
                return B
            }
            d.ia = function () {
                var c;
                a.b = {
                    ec: [],
                    dc: [],
                    bg: B
                };
                for (c = 0; 10 > c; c++) a.b.ec[c] = B, a.b.dc[c] = a.Lg[c] ? 10 : 0
            }
            d.j = function () {
                var c, d = {
                        bank_on: [],
                        bank_at: []
                    };
                for (c = 0; 10 > c; c++) d.bank_on[c] = a.b.ec[c], d.bank_at[c] = a.b.dc[c];
                d.old_cities = a.b.bg;
                ta(b, d)
            }
            d.S = function () {
                var c;
                a.ia();
                try {
                    var d = {
                        ec: [],
                        dc: []
                    }, e = ua(b);
                    for (c = 0; 10 > c; c++) d.ec[c] = e.bank_on[c], d.dc[c] = e.bank_at[c];
                    d.bg = e.old_cities;
                    F(a.b, d)
                } catch (f) {}
                for (c = 1; 10 > c; c++) p('e267_' + c + b, a.b.ec[c]), t('e268_' + c + b, a.b.dc[c]);
                a.p();
                a.K()
            }
            d.K = function () {
                var c;
                if (Z() && a.Y && a.wk) {
                    for (c = 1; 10 > c; c++) a.Lg[c] || a.b.bg ? (a.Cj[c].html('<span class="cash_good">' + mb[c] + m(j.e[c].e) + '</span>'), a.Bj[c].html('<span class="cash_good">' + mb[c] + m(j.e[c].Md) + '</span>'), a.li[c].show()) : a.li[c].hide();
                    L.ra()
                }
            }
            d.U = function () {
                a.K()
            }
            d.p = function () {
                var c;
                for (c = 1; 10 > c; c++) s('e267_' + c + "e1" + b, a.b.ec[c]);
                s('e269e1' + b, a.b.bg)
            }
            d.Jp = function (c) {
                a.b.bg = k(c);
                a.p();
                a.K();
                a.j();
                return i
            }
            d.ro = function (c, b) {
                a.b.ec[b] = k(c);
                a.p();
                a.j();
                return i
            }
            d.qo = function (c, b) {
                a.b.dc[b] = w(c, 10);
                t(c, a.b.dc[b]);
                a.j();
                return i
            }
            d.Bl = function (c) {
                a.li[c] = $('#e208_' + c + b);
                a.Cj[c] = $('#e270_' + c + b);
                a.Bj[c] = $('#e271_' + c + b);
                a.Lg[c] && (f('#e267_' + c + b, function () {
                    return a.ro(this, c)
                }), u('#e268_' + c + b, function () {
                    return a.qo(this, c)
                }))
            }
            d.Z = function () {
                var c, d;
                pa(a, R('Options', "e90", '<table class="c53"><thead><tr><th class="c111">City</th><th class="c112">Options</th><th class="c113">Cash</th><th class="c114">Bank Balance</th></tr></thead><tbody id="e203%ID%"/></table>' + o('Show Old Cities', 'e269')) + '<div style="padding:10px;">' + Ta + Ua + Va + Wa + '</div>', 1, function () {
                    a.U()
                });
                d = "";
                for (c = 1; 10 > c; c++) d += '<tr id="e208_' + c + '%ID%"><td class="c111">' + ha[c] + '</td>', d = a.Lg[c] ? d + ('<td class="c112">' + ma('Bank When', 'e267_' + c, h, ' <input type="text" style="width:80px;" id="e268_' + c + '%ID%"/>') + '</td>') : d + '<td class="c112" style="height:24px;"><span class="more_in">(Banking not available)</span></td>', d += '<td id="e270_' + c + '%ID%" class="c113">-</td><td id="e271_' + c + '%ID%" class="c114">-</td></tr>';
                $('#e203' + b).html(d.replace(/%ID%/g, b));
                for (c = 1; 10 > c; c++) a.Bl(c);
                f('#e90e0' + b, function () {
                    a.wk = ga("e90" + b);
                    a.K();
                    return B
                });
                f("#e4" + b, function () {
                    return a.ja()
                });
                f("#e6" + b, function () {
                    return a.ua()
                });
                f("#e7" + b, function () {
                    a.od();
                    return B
                });
                f('#e269' + b, function () {
                    return a.Jp(this)
                });
                a.Yb();
                a.K()
            }
            d.ho = function (c) {
                return 0 < c && a.b.ec[c] && j.e[c].e >= a.b.dc[c] ? i : B
            }
            d.sm = function () {
                a.m && (a.r('Banking in ' + ha[j.Da] + '…'), A.H(D('xw_controller=bank&xw_action=deposit_all'), function (c) {
                    a.tm(c)
                }))
            }
            d.tm = function (c) {
                if (a.J(c)) {
                    if (a.M(c, 'Bank Deposit')) try {
                            var b = J(c.responseText);
                            n(x('Bank Deposit', b.deposit_message));
                            E.jb(b)
                    } catch (d) {
                        C(r('Bank Deposit', d))
                    }
                    a.k = 1;
                    a.v()
                }
            }
            d.v = function () {
                a.Q = B;
                1 === a.k ? (a.L = 2, a.ac()) : 2 === a.k ? !E.ej && a.ho(j.Da) ? a.sm() : (a.Q = i, a.r('Waiting for more money…', 1), I(function () {
                    a.m && a.v()
                }, 1E3)) : 23 === a.k && a.Ta()
            }
            a.Z();
            a.S();
            a.P.A && a.A(function () {
                a.ja()
            }, 10)
        }

        function fc() {}

        function gc() {
            this.$a = 1;
            this.Rh = 'Unknown'
        }

        function Ka(e) {
            this.id = e;
            this.F = "";
            this.N = this.l = 0;
            this.Xf = this.Ik = B;
            this.xh = this.wh = this.vd = this.Ma = this.ah = this.I = this.ma = 0;
            this.G = "";
            this.ka = -1;
            this.sa = "";
            this.Sc = 0;
            this.Vh = B;
            this.La = i;
            this.Fg = this.cl = this.Hr = this.w = 0;
            this.ck = -1;
            this.dk = 0;
            this.ha = {};
            for (e = 1; 8 >= e; e++) this.ha[e] = {
                    count: 0,
                    time: 0,
                    Af: B,
                    Gd: B,
                    qi: 0
            };
            this.Eh(this.N, this.Ik, i);
            this.$k(this.Ma, i);
            this.Yk(this.I, i);
            this.Uk(this.Sc, i);
            this.Zk(this.vd, i);
            this.Dh(this.F, this.l, i)
        }

        function Xb(e, b) {
            var a = this,
                d = Xb.prototype;
            S = a;
            F(d, G.prototype);
            a.cb(e, b);
            a.P = K.q[5];
            a.P.g = a;
            a.Ei = l;
            a.Ci = 0;
            a.Di = 0;
            a.Oa = l;
            a.Pd = 0;
            a.Ig = 0;
            a.Uh = 0;
            a.Ih = -1;
            a.V = 0;
            a.Na = 0;
            a.bj = 0;
            a.bb = 0;
            a.da = new ja;
            a.ic = 0;
            a.yi = B;
            a.Oc = [];
            a.ed = B;
            a.Th = l;
            a.$a = -1;
            a.Qh = 0;
            a.Nl = 0;
            a.Lc = 0;
            a.Ck = 0;
            a.Za = l;
            a.vh = 0;
            a.Ua = [];
            a.C = l;
            d.va = {
                1: {
                    f: 'Stamina Refill',
                    Dd: 'Refills your Stamina.',
                    Pa: 0
                },
                2: {
                    f: 'Arena Health Refill',
                    Dd: 'Refills your Arena Health.',
                    Pa: 0
                },
                3: {
                    f: 'Meta Flair',
                    Dd: 'Deal 50% more damage to opponents (10s).',
                    Pa: 0
                },
                4: {
                    f: 'Pain Killer',
                    Dd: 'Receive only 50% damage from opponents (10s).',
                    Pa: 0
                },
                5: {
                    f: 'Kamikaze',
                    Dd: 'Uses all your Stamina in one attack.',
                    Pa: 0
                },
                6: {
                    f: 'Drained',
                    Dd: 'Deal damage and gain opponent\'s Arena Health.',
                    Pa: 0
                },
                7: {
                    f: 'Reflector',
                    Dd: 'Reflect the damage dealt by opponents (10s). Cooldown 10s.',
                    Pa: 0
                },
                8: {
                    f: 'Freeze',
                    Dd: 'Block an opponent from attacking you (10s). Cooldown 10s.',
                    Pa: 0
                }
            };
            var c = ['Waiting for opponents', 'Waiting to start', 'Active', 'Ended', 'Expired'];
            d.ja = function () {
                a.m || a.sd();
                return B
            }
            d.ua = function () {
                a.Oa && a.Oa.close();
                a.Za && a.Za.close();
                a.Ta();
                return B
            }
            d.p = function () {
                s('e330e1' + b, a.b.wc);
                s('e331e1' + b, a.b.vc);
                s('e332e1' + b, a.b.xc);
                s('e333e1' + b, a.b.Gc);
                s('e334e1' + b, a.b.Fc);
                s('e86e1' + b, a.b.pa);
                s('e335e1' + b, a.b.Ia);
                s('e336e1' + b, a.b.ff);
                s('e337e1' + b, a.b.gf);
                s('e338e1' + b, a.b.kf);
                s('e339e1' + b, a.b.lf);
                s('e340e1' + b, a.b.pf);
                s('e120e1' + b, a.b.Wa)
            }
            d.np = function (c) {
                a.b.wc = k(c);
                a.p();
                a.j();
                return i
            }
            d.op = function (c) {
                a.b.Of = w(c, 20);
                a.j();
                return i
            }
            d.lp = function (c) {
                a.b.vc = k(c);
                a.p();
                a.j();
                return i
            }
            d.mp = function (c) {
                a.b.Nf = w(c, 100);
                a.j();
                return i
            }
            d.pp = function (c) {
                a.b.xc = k(c);
                a.p();
                a.j();
                return i
            }
            d.qp = function (c) {
                a.b.Pf = w(c, 500);
                a.j();
                return i
            }
            d.Qq = function (c) {
                a.b.kf = k(c);
                a.p();
                a.j();
                return i
            }
            d.Rq = function (c) {
                a.b.tg = w(c);
                a.j();
                return i
            }
            d.Sq = function (c) {
                a.b.lf = k(c);
                a.p();
                a.j();
                return i
            }
            d.Tq = function (c) {
                a.b.mf = w(c);
                a.j();
                return i
            }
            d.Hq = function (c) {
                a.b.Gc = k(c);
                a.p();
                a.j();
                return i
            }
            d.Iq = function (c) {
                a.b.mg = w(c);
                a.j();
                return i
            }
            d.Fq = function (c) {
                a.b.Fc = k(c);
                a.p();
                a.j();
                return i
            }
            d.Gq = function (c) {
                a.b.lg = w(c);
                a.j();
                return i
            }
            d.Tp = function (c) {
                a.b.Ia = k(c);
                a.p();
                a.j();
                return i
            }
            d.Dq = function (c) {
                a.b.ff = k(c);
                a.p();
                a.j();
                return i
            }
            d.Eq = function (c) {
                a.b.gf = k(c);
                a.p();
                a.j();
                return i
            }
            d.xp = function (c) {
                a.b.Uf = w(c, 1, 5);
                a.j();
                return i
            }
            d.Mp = function (c) {
                a.b.fb = w(c);
                a.j();
                return i
            }
            d.Zq = function (c) {
                a.b.pf = k(c);
                a.p();
                a.j();
                return i
            }
            d.$q = function (c) {
                a.b.zg = w(c, 5, 90);
                a.j();
                return i
            }
            d.xo = function (c) {
                a.b.Od = w(c);
                a.j();
                return i
            }
            d.dg = function (c) {
                a.b.pa = k(c);
                a.p();
                a.j();
                return i
            }
            d.eg = function (c) {
                a.b.qa = wb(c);
                a.j();
                return i
            }
            d.Wp = function (c) {
                a.b.Fe = w(c);
                a.j();
                return i
            }
            d.Wk = function () {
                var c = {};
                c['margin-left'] = -400 * a.ic + "px";
                $('#e341' + b).animate(c, {
                    duration: 300,
                    easing: 'linear'
                });
                $('#e342' + b).html("(" + (a.ic + 1) + "/2)")
            }
            d.Po = function () {
                a.ic--;
                0 > a.ic && (a.ic = 1);
                a.Wk();
                return B
            }
            d.Oo = function () {
                a.ic++;
                2 <= a.ic && (a.ic = 0);
                a.Wk();
                return B
            }
            d.Pg = function (c) {
                c && c.G && c.Vk(!c.Xf && a.b.Wa && Jb(c.G, a.Oc) ? B : i)
            }
            d.ei = function () {
                var c;
                for (c = 0; 6 > c; c++) a.Pg(a.Ua[c])
            }
            d.Ii = function (c) {
                a.b.Va = Ba(c);
                a.Oc = ob(a.b.Va);
                a.ei();
                a.j();
                return i
            }
            d.Ji = function (c) {
                a.b.Wa = k(c);
                a.p();
                a.ei();
                a.j();
                return i
            }
            d.Bc = function (c, b) {
                a.Ua[b] && a.Ua[b].Vk(k(c));
                return i
            }
            d.ia = function () {
                a.b = {
                    wc: B,
                    Of: 1E3,
                    vc: i,
                    Nf: 5E3,
                    xc: i,
                    Pf: 25E3,
                    Gc: B,
                    mg: 1200,
                    Fc: B,
                    lg: 2E3,
                    Ia: i,
                    ff: i,
                    gf: i,
                    Uf: 2,
                    fb: 0,
                    kf: B,
                    tg: 8E3,
                    lf: B,
                    mf: 15E3,
                    Od: 0,
                    pa: B,
                    qa: 2.2,
                    Fe: 1,
                    pf: B,
                    zg: 15,
                    Va: 'RedTag1RedTag2',
                    Wa: B
                }
            }
            d.j = function () {
                var c = {};
                c.join_20 = a.b.wc;
                c.join_20_value = a.b.Of;
                c.join_100 = a.b.vc;
                c.join_100_value = a.b.Nf;
                c.join_500 = a.b.xc;
                c.join_500_value = a.b.Pf;
                c.skip_respect_low = a.b.Gc;
                c.skip_respect_low_value = a.b.mg;
                c.skip_respect_high = a.b.Fc;
                c.skip_respect_high_value = a.b.lg;
                c.power_attack = a.b.Ia;
                c.skip_pup_atk = a.b.ff;
                c.skip_pup_def = a.b.gf;
                c.max_opponents = a.b.Uf;
                c.priority = a.b.fb;
                c.stop_attack = a.b.kf;
                c.stop_attack_value = a.b.tg;
                c.stop_stamina = a.b.lf;
                c.stop_stamina_value = a.b.mf;
                c.connection = a.b.Od;
                c.ratio_min = a.b.pa;
                c.ratio_min_value = a.b.qa;
                c.ratio_type = a.b.Fe;
                c.use_kami = a.b.pf;
                c.use_kami_time = a.b.zg;
                c.ignore_chars = a.b.Va;
                c.ignore_tags = a.b.Wa;
                ta(b, c)
            }
            d.S = function () {
                a.ia();
                try {
                    var c = {}, d = ua(b);
                    c.wc = d.join_20;
                    c.Of = d.join_20_value;
                    c.vc = d.join_100;
                    c.Nf = d.join_100_value;
                    c.xc = d.join_500;
                    c.Pf = d.join_500_value;
                    c.Gc = d.skip_respect_low;
                    c.mg = d.skip_respect_low_value;
                    c.Fc = d.skip_respect_high;
                    c.lg = d.skip_respect_high_value;
                    c.Ia = d.power_attack;
                    c.ff = d.skip_pup_atk;
                    c.gf = d.skip_pup_def;
                    c.Uf = d.max_opponents;
                    c.fb = d.priority;
                    c.kf = d.stop_attack;
                    c.tg = d.stop_attack_value;
                    c.lf = d.stop_stamina;
                    c.mf = d.stop_stamina_value;
                    c.Od = d.connection;
                    c.pa = d.ratio_min;
                    c.qa = d.ratio_min_value;
                    c.Fe = d.ratio_type;
                    c.pf = d.use_kami;
                    c.zg = d.use_kami_time;
                    c.Va = d.ignore_chars;
                    c.Wa = d.ignore_tags;
                    F(a.b, c)
                } catch (e) {}
                a.Oc = ob(a.b.Va);
                a.ei();
                p('e330' + b, a.b.wc);
                t('e343' + b, a.b.Of);
                p('e331' + b, a.b.vc);
                t('e344' + b, a.b.Nf);
                p('e332' + b, a.b.xc);
                t('e345' + b, a.b.Pf);
                p('e333' + b, a.b.Gc);
                t('e346' + b, a.b.mg);
                p('e334' + b, a.b.Fc);
                t('e347' + b, a.b.lg);
                p('e336' + b, a.b.ff);
                p('e337' + b, a.b.gf);
                p('e335' + b, a.b.Ia);
                t('e348' + b, a.b.Uf);
                t('e349' + b, a.b.fb);
                p('e338' + b, a.b.kf);
                t('e350' + b, a.b.tg);
                p('e339' + b, a.b.lf);
                t('e351' + b, a.b.mf);
                t('e352' + b, a.b.Od);
                p("e86" + b, a.b.pa);
                t("e89" + b, a.b.qa);
                t('e353' + b, a.b.Fe);
                p('e340' + b, a.b.pf);
                t('e354' + b, a.b.zg);
                p('e120' + b, a.b.Wa);
                t('e153' + b, a.b.Va);
                a.p()
            }
            d.U = function () {
                fb('e355' + b, 'e356' + b)
            }
            d.Z = function () {
                pa(a, R('Options', "e90", '<div style="width:52%;float:left;">' + O('Joining', 'e357', la('e355', o('Join <span class="stamina">20</span> Arenas when more than', 'e330', h, ' <span class="stamina"/><input type="text" style="width:44px;" id="e343%ID%"/>') + o('Join <span class="stamina">100</span> Arenas when more than', 'e331', h, ' <span class="stamina"/><input type="text" style="width:44px;" id="e344%ID%"/>') + o('Join <span class="stamina">500</span> Arenas when more than', 'e332', h, ' <span class="stamina"/><input type="text" style="width:44px;" id="e345%ID%"/>') + o('Skip Arenas with less than', 'e333', h, ' <span class="respect" title="Respect"/><input type="text" style="width:40px;" id="e346%ID%"/>') + o('Skip Arenas with more than', 'e334', h, ' <span class="respect" title="Respect"/><input type="text" style="width:40px;" id="e347%ID%"/>') + N + 'Arena Connection ' + xa('e352', ['Same as page', 'Secure', 'Insecure']) + '<br/>' + N + o('Pause when ratio is', "e86", h, " " + xa('e353', ['Above', 'Below']) + ' <input type="text" style="width:30px;" id="e89%ID%"/>'))) + '</div><div style="width:48%;float:left;">' + O('<a id="e358%ID%" href="#0" class="c12"/>Fighting <span id="e342%ID%">(1/2)</span><a id="e359%ID%" href="#0" class="c13"/>', 'e360', '<div id="e356%ID%" style="width:306px;overflow:hidden;"><div id="e341%ID%" style="width:800px;"><span style="width:400px;float:left;">' + o('Enable Power Attack', 'e335') + o('Skip opponents with attack power ups', 'e336') + o('Skip opponents with defense power ups', 'e337') + o('Stop attacking if winning by', 'e338', h, ' <input type="text" style="width:44px;" id="e350%ID%"/> points') + o('Stop attacking after', 'e339', h, ' <span class="stamina"/><input type="text" style="width:44px;" id="e351%ID%"/> stamina') + 'Attack up to <input type="text" style="width:20px;" id="e348%ID%"/> opponents at once<br/>Prefer opponents with ' + xa('e349', 'Highest Respect;Lowest Respect;Highest Score;Lowest Score;Highest Health;Lowest Health;Highest Difficulty;Lowest Difficulty'.split(";")) + '<br/>' + N + '<a class="sexy_button_new shorter black narrow_sexy_button mw_new_ajax" href="remote/html_server.php?xw_controller=arena&xw_action=displayArenaSettings" selector="#popup_fodder"><span><span>Edit Game Settings</span></span></a><br/></span><span style="width:400px;float:left;">' + o('Use Kamikaze in the last', 'e340', h, ' <input type="text" style="width:32px;" id="e354%ID%"/> seconds') + N + o('Skip opponents with names/tags containing', 'e120', 'Enter each name/tag on a new line.', '<br/><textarea id="e153%ID%" class="c14"/>') + '</span></div></div>') + '</div><div style="clear:both;"/>') + R('Arena', 'e361', '<div id="e362%ID%"><table class="c58"><thead><tr class="c4"><th class="c115">Name</th><th class="c116">Cost</th><th class="c117">Respect</th><th class="c118">Players</th><th class="c119">Time</th></tr></thead><tbody id="e363%ID%"/></table></div><div id="e364%ID%" class="c73"><table class="c64"><thead><tr class="c4"><th class="c120">Opponent</th><th class="c121">Difficulty</th><th class="c122">Respect</th><th class="c123">Health</th><th class="c124">Score</th><th class="c125">Shields</th><th class="c126">Options</th></tr></thead><tbody><tr id="e329_0%ID%"><td><div style="float:left;margin-top:10px;width:25px;"><input type="checkbox" id="e328_0%ID%"/></div><span id="e321_0%ID%"/></td><td class="c121" id="e327_0%ID%"/><td id="e322_0%ID%"/><td id="e324_0%ID%"/><td id="e323_0%ID%" class="c124"/><td id="e365_0%ID%"><div id="e325_0%ID%" class="c82"/><div id="e326_0%ID%" class="c83"/></td><td id="e366_0%ID%"><div class="c74 c76 c127" id="e367_50%ID%"/><div class="c74 c76 c128" id="e367_60%ID%"/><div class="c74 c76 c129" id="e367_80%ID%"/></td></tr><tr id="e329_1%ID%"><td><div style="float:left;margin-top:10px;width:25px;"><input type="checkbox" id="e328_1%ID%"/></div><span id="e321_1%ID%"/></td><td class="c121" id="e327_1%ID%"/><td id="e322_1%ID%"/><td id="e324_1%ID%"/><td id="e323_1%ID%" class="c124"/><td id="e365_1%ID%"><div id="e325_1%ID%" class="c82"/><div id="e326_1%ID%" class="c83"/></td><td id="e366_1%ID%"><div class="c74 c76 c127" id="e367_51%ID%"/><div class="c74 c76 c128" id="e367_61%ID%"/><div class="c74 c76 c129" id="e367_81%ID%"/></td></tr><tr id="e329_2%ID%"><td><div style="float:left;margin-top:10px;width:25px;"><input type="checkbox" id="e328_2%ID%"/></div><span id="e321_2%ID%"/></td><td class="c121" id="e327_2%ID%"/><td id="e322_2%ID%"/><td id="e324_2%ID%"/><td id="e323_2%ID%" class="c124"/><td id="e365_2%ID%"><div id="e325_2%ID%" class="c82"/><div id="e326_2%ID%" class="c83"/></td><td id="e366_2%ID%"><div class="c74 c76 c127" id="e367_52%ID%"/><div class="c74 c76 c128" id="e367_62%ID%"/><div class="c74 c76 c129" id="e367_82%ID%"/></td></tr><tr id="e329_3%ID%"><td><div style="float:left;margin-top:10px;width:25px;"><input type="checkbox" id="e328_3%ID%"/></div><span id="e321_3%ID%"/></td><td class="c121" id="e327_3%ID%"/><td id="e322_3%ID%"/><td id="e324_3%ID%"/><td id="e323_3%ID%" class="c124"/><td id="e365_3%ID%"><div id="e325_3%ID%" class="c82"/><div id="e326_3%ID%" class="c83"/></td><td id="e366_3%ID%"><div class="c74 c76 c127" id="e367_53%ID%"/><div class="c74 c76 c128" id="e367_63%ID%"/><div class="c74 c76 c129" id="e367_83%ID%"/></td></tr><tr id="e329_4%ID%"><td><div style="float:left;margin-top:10px;width:25px;"><input type="checkbox" id="e328_4%ID%"/></div><span id="e321_4%ID%"/></td><td class="c121" id="e327_4%ID%"/><td id="e322_4%ID%"/><td id="e324_4%ID%"/><td id="e323_4%ID%" class="c124"/><td id="e365_4%ID%"><div id="e325_4%ID%" class="c82"/><div id="e326_4%ID%" class="c83"/></td><td id="e366_4%ID%"><div class="c74 c76 c127" id="e367_54%ID%"/><div class="c74 c76 c128" id="e367_64%ID%"/><div class="c74 c76 c129" id="e367_84%ID%"/></td></tr><tr id="e329_5%ID%"><td><div style="float:left;margin-top:10px;width:25px;"><input type="checkbox" id="e328_5%ID%"/></div><span id="e321_5%ID%"/></td><td class="c121" id="e327_5%ID%"/><td id="e322_5%ID%"/><td id="e324_5%ID%"/><td id="e323_5%ID%" class="c124"/><td id="e365_5%ID%"><div id="e325_5%ID%" class="c82"/><div id="e326_5%ID%" class="c83"/></td><td id="e366_5%ID%"><div class="c74 c76 c127" id="e367_55%ID%"/><div class="c74 c76 c128" id="e367_65%ID%"/><div class="c74 c76 c129" id="e367_85%ID%"/></td></tr></tbody></table><div id="e368%ID%"/><div id="e369%ID%"><div class="c130"><div class="c74" id="e367_1%ID%" style="background-image:url(&quot;' + M + '/graphics/item_staminarefill_01.png&quot;);"/><br/><a class="c131" id="e370_1%ID%"/></div><div class="c130"><div class="c74" id="e367_2%ID%" style="background-image:url(&quot;' + M + '/graphics/item_arenahealthrefill_01.png&quot;);"/><br/><a class="c131" id="e370_2%ID%"/></div><div class="c130"><div class="c74" id="e367_4%ID%" style="background-image:url(&quot;' + M + '/graphics/item_painkiller_01.png&quot;);"/><br/><a class="c131" id="e370_4%ID%"/></div><div class="c130"><div class="c74" id="e367_7%ID%" style="background-image:url(&quot;' + M + '/graphics/item_reflector_01.png&quot;);"/><br/><a class="c131" id="e370_7%ID%"/></div><div class="c130"><div class="c74" id="e367_3%ID%" style="background-image:url(&quot;' + M + '/graphics/item_quartflair_01.png&quot;);"/><br/><a class="c131" id="e370_3%ID%"/></div><div class="c130"><div class="c74" id="e367_5%ID%" style="background-image:url(&quot;' + M + '/graphics/big_item_suckerpunch_01.png&quot;);"/><br/><a class="c131" id="e370_5%ID%"/></div><div class="c130"><div class="c74" id="e367_6%ID%" style="background-image:url(&quot;' + M + '/graphics/item_drained_02.png&quot;);"/><br/><a class="c131" id="e370_6%ID%"/></div><div class="c130"><div class="c74" id="e367_8%ID%" style="background-image:url(&quot;' + M + '/graphics/item_freeze_01.png&quot;);"/><br/><a class="c131" id="e370_8%ID%"/></div><div style="float:right;"><div class="c74" id="e371%ID%" style="background-image:url(&quot;' + M + '/graphics/item_powercard_01.png&quot;);"/><br/></div><div style="clear:both;"/></div></div>') + R('Stats', "e93") + '<div style="padding:10px;">' + Ta + Ua + Va + Wa + '</div>', 1, function () {
                    a.U()
                });
                f('#e90e0' + b, function () {
                    ga("e90" + b);
                    return B
                });
                f('#e361e0' + b, function () {
                    ga('e361' + b);
                    return B
                });
                f('#e93e0' + b, function () {
                    ga("e93" + b);
                    return B
                });
                f("#e4" + b, function () {
                    return a.ja()
                });
                f("#e6" + b, function () {
                    return a.ua()
                });
                f("#e7" + b, function () {
                    a.od();
                    return B
                });
                f('#e358' + b, function () {
                    return a.Po()
                });
                f('#e359' + b, function () {
                    return a.Oo()
                });
                f('#e340' + b, function () {
                    return a.Zq(this)
                });
                u('#e354' + b, function () {
                    return a.$q(this)
                });
                u('#e153' + b, function () {
                    return a.Ii(this)
                });
                f('#e120' + b, function () {
                    return a.Ji(this)
                });
                f('#e330' + b, function () {
                    return a.np(this)
                });
                u('#e343' + b, function () {
                    return a.op(this)
                });
                f('#e331' + b, function () {
                    return a.lp(this)
                });
                u('#e344' + b, function () {
                    return a.mp(this)
                });
                f('#e332' + b, function () {
                    return a.pp(this)
                });
                u('#e345' + b, function () {
                    return a.qp(this)
                });
                f('#e333' + b, function () {
                    return a.Hq(this)
                });
                u('#e346' + b, function () {
                    return a.Iq(this)
                });
                f('#e334' + b, function () {
                    return a.Fq(this)
                });
                u('#e347' + b, function () {
                    return a.Gq(this)
                });
                u('#e352' + b, function () {
                    return a.xo(this)
                });
                f('#e86' + b, function () {
                    return a.dg(this)
                });
                u('#e89' + b, function () {
                    return a.eg(this)
                });
                u('#e353' + b, function () {
                    return a.Wp(this)
                });
                f('#e336' + b, function () {
                    return a.Dq(this)
                });
                f('#e337' + b, function () {
                    return a.Eq(this)
                });
                f('#e335' + b, function () {
                    return a.Tp(this)
                });
                u('#e348' + b, function () {
                    return a.xp(this)
                });
                u('#e349' + b, function () {
                    return a.Mp(this)
                });
                f('#e338' + b, function () {
                    return a.Qq(this)
                });
                u('#e350' + b, function () {
                    return a.Rq(this)
                });
                f('#e339' + b, function () {
                    return a.Sq(this)
                });
                u('#e351' + b, function () {
                    return a.Tq(this)
                });
                f('#e367_1' + b, function () {
                    return a.aa(1, -1)
                });
                f('#e367_2' + b, function () {
                    return a.aa(2, -1)
                });
                f('#e367_4' + b, function () {
                    return a.aa(4, -1)
                });
                f('#e367_7' + b, function () {
                    return a.aa(7, -1)
                });
                f('#e367_3' + b, function () {
                    return a.aa(3, -1)
                });
                f('#e367_5' + b, function () {
                    return a.aa(5, -1)
                });
                f('#e367_6' + b, function () {
                    return a.aa(6, -1)
                });
                f('#e367_8' + b, function () {
                    return a.aa(8, -1)
                });
                f('#e367_50' + b, function () {
                    return a.aa(5, 0)
                });
                f('#e367_51' + b, function () {
                    return a.aa(5, 1)
                });
                f('#e367_52' + b, function () {
                    return a.aa(5, 2)
                });
                f('#e367_53' + b, function () {
                    return a.aa(5, 3)
                });
                f('#e367_54' + b, function () {
                    return a.aa(5, 4)
                });
                f('#e367_55' + b, function () {
                    return a.aa(5, 5)
                });
                f('#e367_60' + b, function () {
                    return a.aa(6, 0)
                });
                f('#e367_61' + b, function () {
                    return a.aa(6, 1)
                });
                f('#e367_62' + b, function () {
                    return a.aa(6, 2)
                });
                f('#e367_63' + b, function () {
                    return a.aa(6, 3)
                });
                f('#e367_64' + b, function () {
                    return a.aa(6, 4)
                });
                f('#e367_65' + b, function () {
                    return a.aa(6, 5)
                });
                f('#e367_80' + b, function () {
                    return a.aa(8, 0)
                });
                f('#e367_81' + b, function () {
                    return a.aa(8, 1)
                });
                f('#e367_82' + b, function () {
                    return a.aa(8, 2)
                });
                f('#e367_83' + b, function () {
                    return a.aa(8, 3)
                });
                f('#e367_84' + b, function () {
                    return a.aa(8, 4)
                });
                f('#e367_85' + b, function () {
                    return a.aa(8, 5)
                });
                f('#e370_1' + b, function () {
                    return a.Ac(1)
                });
                f('#e370_2' + b, function () {
                    return a.Ac(2)
                });
                f('#e370_4' + b, function () {
                    return a.Ac(4)
                });
                f('#e370_7' + b, function () {
                    return a.Ac(7)
                });
                f('#e370_3' + b, function () {
                    return a.Ac(3)
                });
                f('#e370_5' + b, function () {
                    return a.Ac(5)
                });
                f('#e370_6' + b, function () {
                    return a.Ac(6)
                });
                f('#e370_8' + b, function () {
                    return a.Ac(8)
                });
                f('#e328_0' + b, function () {
                    return a.Bc(this, 0)
                });
                f('#e328_1' + b, function () {
                    return a.Bc(this, 1)
                });
                f('#e328_2' + b, function () {
                    return a.Bc(this, 2)
                });
                f('#e328_3' + b, function () {
                    return a.Bc(this, 3)
                });
                f('#e328_4' + b, function () {
                    return a.Bc(this, 4)
                });
                f('#e328_5' + b, function () {
                    return a.Bc(this, 5)
                });
                $('#e362' + b).hide();
                $('#e364' + b).hide();
                a.Yb()
            }
            d.Ek = function () {
                a.m && (a.da.clear(), a.ed = B, a.$a = -1, a.r('Loading Power Ups Page…'), A.H(D('xw_controller=Lobby&xw_action=marketplace'), function (c) {
                    a.lr(c)
                }))
            }
            d.lr = function (c) {
                var b, d;
                if (a.J(c)) if (a.M(c, 'Power Ups')) {
                        for (b in a.va) a.va.hasOwnProperty(b) && (a.va[b].Pa = 0);
                        for (d = /class="powerups_carousel_powerup_ticketcost .+">(\d+)<\/div>[\r\n\t]+<a id='powerups_carousel_powerup_build_(\d+)'/mg; b = d.exec(c.responseText);) a.va[b[2]] && (a.va[b[2]].Pa = q(b[1]));
                        a.vh = (b = /powerup_ticket_count">(\d+)</.exec(c.responseText)) ? q(b[1]) : 0;
                        a.K();
                        a.oh()
                    } else a.Ek()
            }
            d.oh = function () {
                a.m && (a.da.clear(), a.ed = B, a.$a = -1, a.r('Loading Lobby Page…'), A.H(D('xw_controller=Lobby&xw_action=play'), function (c) {
                    a.Un(c)
                }))
            }
            d.Un = function (c) {
                var b, d;
                if (a.J(c)) if (a.M(c, 'Lobby Connect')) {
                        d = -1;
                        if (b = /RESPECT<\/span> <span class="respect_value" style="font-size:13px;color:#DDD">(\d+)/.exec(c.responseText)) j.N = X(b[1]), W.N || (W.N = j.N);
                        if (b = /CRESTS<\/span> <span class="respect_value" style="font-size:13px;color:#DDD">(\d+)/.exec(c.responseText)) a.Pd = X(b[1]), -1 === a.Ih && (a.Ih = a.Pd);
                        a.Gg || (a.Gg = Qa(c.responseText, 'populateArenaNames(', ");"));
                        (b = /xw_controller=Lobby&xw_action=join_arena.+&arenaType=(.+).><span><span>REJOIN/.exec(c.responseText)) ? (d = a.Oj(b[1]), n(x('Found an Arena to Rejoin'))) : !a.Gi() && a.Ka(2) && /xw_controller=Lobby&xw_action=join_arena.+&arenaType=hw.+FIGHT NOW/.test(c.responseText) ? d = 2 : !a.Gi() && a.Ka(1) && /xw_controller=Lobby&xw_action=join_arena.+&arenaType=lw.+FIGHT NOW/.test(c.responseText) ? d = 1 : !a.Gi() && (a.Ka(0) && /xw_controller=Lobby&xw_action=join_arena.+&arenaType=sw.+FIGHT NOW/.test(c.responseText)) && (d = 0);
                        if (b = /MW.LobbyModel\((\d+), (\d+), (.+)\)/.exec(c.responseText)) a.Ci = q(b[1]), a.Di = q(b[2]);
                        a.Ei = (b = /MW.lobbyViewObj.init\("(.+)"\)/.exec(c.responseText)) ? a.Xi(b[1]) : a.Xi('http' == hc ? 'ws://lobby-1.mafiawars.zynga.com:80/player' : 'wss://lobby-1.mafiawars.zynga.com:443/player');
                        ra(a.Ei + " " + a.Ci + " " + a.Di);
                        a.K(); - 1 !== d ? a.hh(d) : a.rj(i)
                    } else a.oh()
            }
            d.rj = function (c) {
                a.m && (a.Ka(0) || a.Ka(1) || a.Ka(2) ? (a.Q = B, c ? a.Vn() : a.oh()) : (a.Q = i, a.b.wc || a.b.vc || a.b.xc ? a.r('Waiting for more <span class="stamina"/>Stamina…') : a.r('Please set the Join Arena options…'), I(function () {
                    a.m && a.rj(B)
                }, 1E3)))
            }
            d.Xi = function (c) {
                1 === a.b.Od ? (c = c.replace(/ws:\/\//g, 'wss://'), c = c.replace(/:80\//g, ':443/')) : 2 === a.b.Od && (c = c.replace(/wss:\/\//g, 'ws://'), c = c.replace(/:443\//g, ':80/'));
                return c
            }
            d.Vn = function () {
                a.m && (a.r('Connecting to Arena Lobby…'), a.Oa ? a.Oa.open() : (a.Oa = new WebSocket(a.Ei), a.Oa.onmessage = function (c) {
                    a.Wn(c)
                }, a.Oa.onerror = function () {
                    n(r('Lobby', 'Error'));
                    a.m && -1 === a.$a && I(function () {
                        a.oh()
                    }, 1E3)
                }, a.Oa.onopen = function () {
                    n(x('Lobby', 'Authenticate'));
                    a.Oa.send(JSON.stringify({
                        Id: a.Ci,
                        Cmd: 'Authenticate',
                        Args: ['token', "" + a.Di]
                    }));
                    a.m && -1 === a.$a && I(function () {
                        a.ik()
                    }, 1E3)
                }, a.Oa.onclose = function () {
                    n(x('Lobby', 'Closed'));
                    a.Oa = l;
                    $('#e362' + b).hide()
                }))
            }
            d.ik = function () {
                a.m && a.Oa && a.Oa.send(JSON.stringify({
                    Id: j.l,
                    Cmd: 'listArena',
                    Args: []
                }))
            }
            d.Ym = function (c) {
                return a.Gg && a.Gg[c % 806] ? a.Gg[c % 806] : c.toString()
            }
            d.jj = [20, 100, 500];
            d.Hg = ["sw", "lw", "hw"];
            d.Oj = function (c) {
                return c === a.Hg[0] ? 0 : c === a.Hg[1] ? 1 : 2
            }
            d.Wn = function (c) {
                var d, e, f, j, k, m, p, n, o;
                if (a.m) {
                    a.ed || (a.Ka(0) || a.Ka(1) || a.Ka(2) ? a.r('Looking for an arena to join…') : a.b.wc || a.b.vc || a.b.xc ? a.r('Waiting for more <span class="stamina"/>Stamina…') : a.r('Please set the Join Arena options…'));
                    try {
                        if ((m = J(c.data)) && m.Args && m.Extra) {
                            k = m.Args;
                            j = aa() + K.Tk;
                            for (a.da.index = 0; a.da.index < a.da.length; a.da.index++) f = a.da.ea(a.da.index), f.Nj = B;
                            for (d = 0; d < k.length; d++) p = k[d].split(","), n = p[0].split("/"), o = m.Extra[d].split(","), f = new gc, f.Il = n[0], f.$a = a.Oj(n[1]), f.Kb = q(n[2]), f.rh = q(p[1]), f.Yr = q(p[2]), f.Wj = 0 <= f.rh ? q(p[3]) : 0, f.co = q(o[0]), f.Fi = q(o[1]), f.el = q(o[2]), f.Rh = a.Ym(f.Kb), f.pg = f.Wj ? -1 : Math.max(f.el - j, 0), f.Nj = i, 0 <= f.pg && 6 > f.rh ? a.da.get(f.Kb) ? (f.he = a.da.R[f.Kb].he, a.da.R[f.Kb] = f) : a.da.push(f.Kb, f) : f.he || a.da.get(f.Kb) && a.da.remove(f.Kb);
                            e = "";
                            for (a.da.index = 0; a.da.index < a.da.length; a.da.index++) f = a.da.ea(a.da.index), f.pg = f.Wj ? -1 : Math.max(f.el - j, 0), 0 <= f.pg && 6 > f.rh && f.Nj ? f.he || (e += '<tr><td>' + f.Rh + '</td><td><span class="stamina">' + a.jj[f.$a] + '</span></td><td><span class="respect">' + f.co + "-" + f.Fi + '</span></td><td>' + f.rh + '/6</td><td>' + (20 >= f.pg ? Math.max(f.pg, 0) + "s" : "-") + '</td></tr>') : f.he || a.da.remove(f.Kb);
                            $('#e363' + b).html(e);
                            $('#e362' + b).show();
                            $('#e364' + b).hide();
                            a.$l()
                        }
                    } catch (s) {
                        C(r('Lobby', s))
                    }
                    I(function () {
                        a.ik()
                    }, 1E3)
                }
            }
            d.Ka = function (c, b) {
                return 0 === c ? a.b.wc && j.w >= a.b.Of && (b || !a.Ka(1)) : 1 === c ? a.b.vc && j.w >= a.b.Nf && (b || !a.Ka(2)) : a.b.xc && j.w >= a.b.Pf
            }
            d.Gi = function () {
                return a.b.Gc || a.b.Fc
            }
            d.$l = function () {
                var c, b, d;
                if (a.m && !a.ed) if (a.b.Gc || a.b.Fc) for (c = 0; c < a.da.length; c++) {
                            if (b = a.da.ea(c), d = B, b.he ? d = i : a.Ka(b.$a, i) ? a.b.Gc && b.Fi < a.b.mg ? d = i : a.b.Fc && b.Fi > a.b.lg && (d = i) : d = i, !d) {
                                b.he = i;
                                a.qn(b);
                                break
                            }
                    } else a.Ka(2) ? a.hh(2) : a.Ka(1) ? a.hh(1) : a.Ka(0) && a.hh(0)
            }
            d.qn = function (c) {
                var b;
                a.m && (a.ed = i, a.r('Attempting to join ' + c.Rh + '…'), b = 'arenaType=' + a.Hg[c.$a] + '&arenaId=' + c.Kb + '&arenaIp=' + c.Il, A.H(D('xw_controller=Lobby&xw_action=join_arena&' + b), function (b) {
                    a.ak(b, c.$a)
                }))
            }
            d.hh = function (c) {
                var b;
                a.m && (a.ed = i, a.r('Attempting to join Arena…'), b = 'arenaType=' + a.Hg[c], A.H(D('xw_controller=Lobby&xw_action=join_arena&' + b), function (b) {
                    a.ak(b, c)
                }))
            }
            d.ak = function (c, b) {
                if (a.J(c)) {
                    if (a.M(c, 'Join Arena')) try {
                            var d = J(c.responseText);
                            if (d) {
                                if (d.data.success) {
                                    n(x('Join Arena', d.data.message));
                                    a.$a = b;
                                    a.fk();
                                    a.Oa && a.Oa.close();
                                    return
                                }
                                n(r('Join Arena', d.data.message))
                            }
                    } catch (e) {
                        C(r('Join Arena', e))
                    }
                    a.ed = B
                }
            }
            d.fk = function () {
                var c;
                if (a.m) {
                    a.da.clear();
                    for (c = 0; 6 > c; c++) $('#e366_' + c + b).hide();
                    a.r('Loading Arena…');
                    A.H(D('xw_controller=Lobby&xw_action=loadArena'), function (c) {
                        a.tn(c)
                    });
                }
            }
            d.tn = function (c) {
                var b;
                if (a.J(c)) {
                    if (a.M(c, 'Load Arena')) {
                        if (b = /viewObj.init\("([^"]+)/.exec(c.responseText)) {
                            a.Th = a.Xi(b[1]);
                            a.Qh = a.jj[a.$a];
                            a.Nl = a.Qh / 10;
                            a.Ck = a.Qh / 2;
                            a.Lc = 0;
                            a.yi = B;
                            (b = /<div id="arena_name">[\r\n\t]+([^\t]+)/m.exec(c.responseText)) && n(x('Load Arena', 'Joined ' + b[1]));
                            ra(x('Load Arena', a.Th));
                            a.Jl();
                            return
                        }
                        C(r('Load Arena', 'Unable to find Arena url'))
                    }
                    a.fk()
                }
            }
            d.Jl = function () {
                var c;
                if (a.m) {
                    a.r('Connecting to Arena…');
                    a.Ua = [];
                    a.C = l;
                    for (c = 0; 6 > c; c++) a.Ua[c] = l, $('#e329_' + c + b).hide();
                    a.Za ? a.Za.open() : (a.Za = new WebSocket(a.Th), a.Za.onmessage = function (c) {
                        a.Kl(c)
                    }, a.Za.onerror = function () {
                        n(r('Arena', 'Error'))
                    }, a.Za.onopen = function () {
                        n(x('Arena', 'Opened'))
                    }, a.Za.onclose = function () {
                        n(x('Arena', 'Closed'));
                        a.Za && (a.Za = l, a.Qi(function () {
                            $('#e364' + b).hide();
                            a.Rj()
                        }, 6, 'Collecing Arena Rewards in'))
                    })
                }
            }
            d.aa = function (c, b) {
                a.m && (a.C && !a.C.ha[c].Gd) && (a.C.ha[c].Af ? n(r('Problem using ' + a.va[c].f, 'Cooldown active')) : a.C.ha[c].count ? (-1 !== b ? (n(x('Using ' + a.va[c].f, 'On opponent ' + a.Ua[b].G)), a.C.ha[c].target = b) : (n(x('Using ' + a.va[c].f)), a.C.ha[c].target = -1), a.C.ha[c].Gd = i) : n(r('Problem using ' + a.va[c].f, 'None available')));
                return i
            }
            d.Ac = function (c) {
                a.m && a.va[c] && (a.va[c].Pa ? a.va[c].Pa > a.vh ? n(r('Problem building ' + a.va[c].f, 'Not enough power cards')) : (n(x('Building ' + a.va[c].f, 'For ' + a.va[c].Pa + ' power cards')), A.H(D('xw_controller=ArenaPowerups&xw_action=buildPowerups&qty=1&powerupId=' + c), function (b) {
                    a.Ul(b, c)
                })) : n(r('Problem building ' + a.va[c].f, 'Not available to build')));
                return B
            }
            d.Ul = function (c, b) {
                if (a.J(c) && a.M(c, 'Build Power Up')) try {
                        var d = J(c.responseText),
                            e = J(d.data);
                        d && e && (E.jb(d), a.vh = e.tickets, a.C.ha[b].qi++)
                } catch (f) {
                    C(r('Build Power Up', f))
                }
            }
            d.Sj = function () {
                var c, b, d;
                d = 1E6;
                for (c = 0; 6 > c; c++)(b = a.Ua[c]) && b !== a.C && (d = Math.min(a.C.Ma - b.Ma, d));
                return d
            }
            d.Ll = function () {
                if (a.m) {
                    var c, b, d, e, f, j, k;
                    if (!(a.C.ck === a.C.Fg && (new Date).getTime() < a.C.dk + 1E3)) {
                        e = "";
                        b = 0;
                        a.b.pf && (!a.yi && a.Sh < a.b.zg) && (a.C.ha[5].count && !a.C.ha[5].Af) && (n(x('Automatically Using ' + a.va[5].f)), a.C.ha[5].Gd = i, a.C.ha[5].target = -1, a.yi = i);
                        d = B;
                        for (c = 1; 8 >= c; c++) a.C.ha[c].Gd && (a.C.ha[c].Gd = B, e += "3:" + c + ";", b++, -1 !== a.C.ha[c].target && (e += "1:" + a.C.ha[c].target + ";", b++, d = i), a.r('Using Power Up…'));
                        if (!d) if (0 >= a.C.I) a.r('Waiting for more <span class="health"/>Health…');
                            else if (a.C.w < a.Ck) a.r('Waiting for more <span class="stamina"/>Stamina…');
                        else if (a.b.lf && a.Lc >= a.b.mf) a.r('Waiting because more than <span class="stamina">' + m(a.b.mf) + '</span> Stamina spent…');
                        else if (a.b.kf && a.Sj() >= a.b.tg) a.r('Waiting because winning by ' + m(a.Sj()) + ' points…');
                        else {
                            a.b.Ia && !a.C.Ia ? (e += '2:1;', b++) : !a.b.Ia && a.C.Ia && (e += '2:0;', b++);
                            f = [];
                            for (c = j = 0; 6 > c; c++) if (d = a.Ua[c]) k = B, d.Vh = B, d === a.C ? k = i : 0 >= d.I ? k = i : d.vd & 1 && a.b.ff ? k = i : d.vd & 2 && a.b.gf ? k = i : d.La || (k = i), k || f.push(d);
                            f.sort(function (c, b) {
                                return 0 === a.b.fb ? b.N - c.N : 1 === a.b.fb ? c.N - b.N : 2 === a.b.fb ? b.Ma - c.Ma : 3 === a.b.fb ? c.Ma - b.Ma : 4 === a.b.fb ? b.I - c.I : 5 === a.b.fb ? c.I - b.I : 6 === a.b.fb ? b.Sc - c.Sc : 7 === a.b.fb ? c.Sc - b.Sc : 0
                            });
                            if (f.length) {
                                for (c = 0; 4 > b;) d = f[c], d.Vh || (d.Vh = i, j++), e += "1:" + d.id + ";", b++, c++, c >= Math.min(a.b.Uf, f.length) && (c = 0);
                                1 === j ? a.r('Attacking ' + f[0].G + '…') : 2 === j ? a.r('Attacking ' + f[0].G + ' and 1 other…') : a.r('Attacking ' + f[0].G + ' and ' + (j - 1) + ' others…')
                            } else a.r('Waiting for Opponents…')
                        }
                        0 < b && (a.Za && a.Za.send(JSON.stringify({
                            Nonce: a.C.Fg,
                            CMD: e
                        })), a.C.ck = a.C.Fg, a.C.dk = (new Date).getTime())
                    }
                }
            }
            d.Kl = function (d) {
                if (a.m) try {
                        var e, f, k, p, n, o, s, t, u = J(d.data);
                        a.Mc = q(u.s);
                        a.Sh = u.t;
                        if (u.pi) for (e in u.pi) if (u.pi.hasOwnProperty(e)) {
                                    f = q(e);
                                    a.Ua[f] || (a.Ua[f] = new Ka(f), $('#e329_' + e + b).show());
                                    n = a.Ua[f];
                                    o = u.pi[e];
                                    if ((p = q(o.pid)) && n.l != p) n.Dh("", p), n.l === j.l && (n.Xf = i, a.C = n), a.Pg(n), a.Pj(n);
                                    n.Yk(o.ph);
                                    n.Zk(o.pu);
                                    n.$k(o.sc)
                                }
                        if (u.mi && a.C && (o = u.mi, a.C.w > o.st && (a.Lc += a.C.w - o.st), a.C.w = o.st, a.C.Hr = o.pst, a.C.cl = o.sr, a.C.Ia = o.as, a.C.Fg = o.ammo, 1 === a.Mc && (a.bj = a.C.w), o.pui)) {
                            s = o.pui.split("|");
                            for (e = 0; e < s.length; e++) t = s[e].split(","), f = q(t[0]), k = 0 < f ? f : -f, a.C.ha[k].time = q(t[1]), a.C.ha[k].count = q(t[2]), 5 !== k && (a.C.ha[k].Af = 0 < a.C.ha[k].time ? i : B)
                        }
                        1 === a.Mc ? a.r('Waiting for Arena to start…') : 2 === a.Mc ? a.Ll() : 3 === a.Mc ? a.r('Waiting for Arena Rewards…') : 4 === a.Mc && a.r('Waiting for Arena Rewards…');
                        d = "";
                        d = 'Stamina: <span class="stamina">' + m(a.C.w) + '</span> ' + qa('(more in ' + gb(a.C.cl) + ")");
                        d += ' | Power Attack: ' + (a.C.Ia ? "On" : "Off");
                        d += ' | State: ' + c[a.Mc];
                        0 <= a.Sh && (d += ' | Time: <span>' + gb(a.Sh) + '</span>');
                        $('#e368' + b).html(d);
                        if (2 === a.Mc) {
                            for (e = 1; 8 >= e; e++) {
                                n = a.C.ha[e];
                                if (5 === e || 6 === e || 8 === e) for (f = 0; 6 > f; f++) a.Ua[f] && a.C !== a.Ua[f] && (n.Gd || n.Af || !n.count || !a.Ua[f].I ? $('#e367_' + e + "" + f + b).addClass('opacity_50') : $('#e367_' + e + "" + f + b).removeClass('opacity_50'), $('#e366_' + f + b).show(), $('#e367_' + e + "" + f + b).html('<span>x' + n.count + '</span>'));
                                n.Gd || n.Af || n.time || !n.count ? $('#e367_' + e + b).addClass('opacity_50') : $('#e367_' + e + b).removeClass('opacity_50');
                                n.qi ? $('#e367_' + e + b).html('<span>x' + n.count + "+" + n.qi + '</span>') : $('#e367_' + e + b).html('<span>x' + n.count + '</span>');
                                a.va[e].Pa ? ($('#e370_' + e + b).html('Build for ' + a.va[e].Pa), $('#e370_' + e + b).show()) : $('#e370_' + e + b).hide()
                            }
                            $('#e371' + b).html('<span>x' + a.vh + '</span>');
                            $('#e369' + b).show()
                        } else {
                            for (f = 0; 6 > f; f++) $('#e366_' + e + b).hide();
                            $('#e369' + b).hide()
                        }
                        $('#e362' + b).hide();
                        $('#e364' + b).show()
                } catch (x) {
                    C(r('Arena', x))
                }
            }
            d.Pj = function (c) {
                a.m && A.H(D('xw_controller=arena&xw_action=getSingleUserData&pid=' + c.l), function (b) {
                    a.dn(b, c)
                })
            }
            d.dn = function (c, b) {
                var d;
                if (a.J(c)) {
                    if (a.M(c, 'Get Opponent Data')) try {
                            var e = J(c.responseText);
                            if (e) {
                                var f = e.data.result[b.l];
                                if (f) {
                                    if (f.pic && (d = /.+\d+_(\d+)_\d+/.exec(f.pic))) b.ma = q(d[1]);
                                    b.Dh(f.fullName, b.l); - 1 !== f.playerRespect.indexOf("K") ? b.Eh(1E3 * X(f.playerRespect), i) : b.Eh(X(f.playerRespect), B);
                                    b.Xf = f.me;
                                    b.Xf ? (b.ha[2].count = f.healthRefills, b.ha[1].count = f.staminaRefills) : b.Uk(f.defenseFlag + 2 * f.mafiaDefenseFlag + 1);
                                    a.Pg(b);
                                    a.Qj(b);
                                    return
                                }
                            }
                    } catch (j) {
                        C(r('Get Opponent Data', j))
                    }
                    a.Pj(b)
                }
            }
            d.Qj = function (c) {
                a.m && A.H(D('xw_controller=stats&xw_action=view&user=p|' + c.l), function (b) {
                    a.en(b, c)
                })
            }
            d.en = function (c, b) {
                var d;
                if (a.J(c) && a.M(c, 'Get Opponent Profile') && (E.Ja(c), d = tb(c.responseText), d.l)) {
                    d.N && b.Eh(d.N, B);
                    b.ka = d.ka;
                    b.sa = d.sa;
                    b.Dh(b.F, b.l, i);
                    a.Pg(b);
                    return
                }
                a.Qj(b)
            }
            d.Rj = function () {
                a.m && (a.r('Collecting Arena Rewards…'), A.H(D('xw_controller=arena&xw_action=rewards'), function (c) {
                    a.gn(c)
                }, h, 1))
            }
            d.gn = function (c) {
                var b, d, e, f;
                if (a.J(c)) if (a.M(c, 'Arena Rewards')) {
                        E.Ja(c);
                        a.C && a.bj && (a.Lc = Math.max(a.Lc, a.bj - a.C.w));
                        a.Na += a.Lc;
                        a.Ig++;
                        f = 0;
                        if (d = /class="position">(\d+)/.exec(c.responseText)) b = q(d[1]), n(x('Position', m(b))), 1 === b && a.Uh++;
                        if (d = /Experience Gained: <\/span>[\r\n\t]+<span class="value">(\d+)/m.exec(c.responseText)) b = q(d[1]), n(x('Experience', '<span class="experience">' + m(b) + '</span>')), a.V += b;
                        if (d = /Respect Gained: <\/span>[\r\n\t]+<span[^>]+>\+*(\d+)/m.exec(c.responseText)) b = q(d[1]), n(x('Respect Gained', '<span class="respect">' + m(b) + '</span>')), j.N += b;
                        if (d = /Respect Lost: <\/span>[\r\n\t]+<span[^>]+>-(\d+)/m.exec(c.responseText)) b = q(d[1]), n(r('Respect Lost', '<span class="respect">' + m(b) + '</span>')), j.N -= b;
                        if (d = /Crests Gained: <\/span>[\r\n\t]+<span class="value">(\d+)/m.exec(c.responseText)) b = q(d[1]), n(x('Crests Gained', '<span class="arena_mastery_crests">' + m(b) + '</span>')), a.Pd += b;
                        if (d = /alt="Ices"\/><\/div>[\r\n\t]+<\/div>[\r\n\t]+<div class="qty">x (\d+)/m.exec(c.responseText)) b = q(d[1]), n(x('Ices', m(b))), a.bb += b;
                        for (e = /item_id="(\d+)" \/><\/div>[\r\n\t]+<\/div>[\r\n\t]+<div class="qty">x (\d+)/mg; d = e.exec(c.responseText);) b = q(d[1]), d = q(d[2]), T.bc(b, d), f += d;
                        for (e = /item_id="(\d+)" \/><\/div>[\r\n\t]+.+<\/span>[\r\n\t]+.+<\/span>[\r\n\t]+<\/div>[\r\n\t]+<div class="qty">x (\d+)/mg; d = e.exec(c.responseText);) b = q(d[1]), d = q(d[2]), T.bc(b, d), f += d;
                        n(x('Loot', 'Collected ' + f + ' items'));
                        a.K();
                        E.K();
                        a.k = 1;
                        a.v()
                    } else a.Rj()
            }
            d.K = function () {
                var c = "";
                a.wa || (a.wa = $('#e93' + b));
                a.wa && (c += 'Respect: <span class="respect">' + m(j.N) + '</span>', j.N && W.N && (c += " " + Ma(j.N - W.N)), c += ' | Crests: <span class="arena_mastery_crests">' + m(a.Pd) + '</span>', -1 !== a.Ih && (c += " " + Ma(a.Pd - a.Ih)), c += ' | Arenas Played: ' + m(a.Ig), c += ' | Won: ' + m(a.Uh), 0 !== a.Ig && (c += ' <span class="c2 more_in">[' + q(100 * a.Uh / a.Ig) + '%]</span>'), a.Na && (c += '<br/>Stamina: <span class="stamina">' + m(a.Na) + '</span>', a.V && (c += ' | Experience: <span class="experience">' + m(a.V) + '</span> <span class="c2 more_in">[' + parseFloat(a.V / a.Na).toFixed(2) + '/sta]</span>'), a.bb && (c += ' | Ices: <span>' + m(a.bb) + '</span>')));
                a.wa.html(c)
            }
            d.zh = function () {
                return a.b.pa ? 0 === a.b.Fe ? j.Cg() > a.b.qa : j.Cg() < a.b.qa : B
            }
            d.v = function () {
                a.Q = B;
                1 === a.k ? (a.L = 2, a.ac()) : 2 === a.k ? 'undefined' === typeof WebSocket ? (n(r('Unable to connect to Arena', 'Browser does not support WebSockets')), a.k = 23, a.v()) : a.zh() ? (a.Q = i, 0 === a.b.Fe ? a.r('Waiting for Experience Ratio to decrease…', 1) : a.r('Waiting for Experience Ratio to increase…', 2), I(function () {
                    a.m && a.v()
                }, 1E3)) : (a.L = 23, a.Ek()) : 23 === a.k && a.Ta()
            }
            a.Z();
            a.S();
            a.P.A && a.A(function () {
                a.ja()
            }, 10)
        }

        function Yb(e, b) {
            var a = this,
                d = Yb.prototype;
            T = a;
            a.B = b;
            a.Ca = e;
            a.b = l;
            a.gd = 0;
            a.o = 0;
            a.Fh = 0;
            d.lk = function (a) {
                var b, d;
                b || (b = 1);
                d = 1 < b ? m(b) + " " : "";
                if (-1 === a || !fa.R[a]) return '<span class="item_with_preview" item_id="' + a + '">' + d + 'Item #' + a + '</span>';
                var e = fa.R[a],
                    a = "";
                if (e.Nc || e.Aa) a += '<span class="attack">' + e.Nc + '</span> <span class="defense">' + e.Aa + '</span> ';
                return a += '<img style="width:18px;height:18px;" src="' + M + '/graphics/' + e.wi + '" class="item_with_preview" item_id="' + e.id + '"> <span class=""><abbr title="' + e.id + '">' + d + (1 < b ? e.Bk : e.Gh) + '</abbr></span>'
            }
            d.kk = function (c) {
                var b;
                if (c) {
                    var d = "";
                    c.zb && (d = c.Ql || c.rm ? 'yellow' : 'good');
                    b = c.wb - c.dl;
                    b = '<td class="c132"><span class="good">' + b + 'x</span></td>' + (c.Nc ? '<td class="c133"><span class="attack">' + c.Nc + '</span></td>' : '<td class="c133">-</td>') + (c.Nc ? '<td class="c134"><span class="defense">' + c.Aa + '</span></td>' : '<td class="c134">-</td>') + '<td class="c135">';
                    b = a.b.Oe ? b + ('<img style="width:18px;height:18px;" src="' + M + '/graphics/' + c.wi + '" class="item_with_preview" item_id="' + c.id + '">&nbsp;<span class="item_with_preview ' + d + '" item_id="' + c.id + '"><abbr title="' + c.id + '">' + c.Gh + '</abbr></span>') : b + ('<span class="item_with_preview ' + d + '" item_id="' + c.id + '"><abbr title="' + c.id + '">' + c.Gh + '</abbr></span>');
                    return b + '</td>'
                }
                return ""
            }
            d.pj = function (c) {
                if (99 === a.Fh) {
                    if (1 === c.type || 2 === c.type || 3 === c.type || 8 === c.type || 13 === c.type) return B
                } else if (0 !== a.Fh && c.type !== a.Fh) return B;
                return 1 === a.o || 0 === a.o && c.wb > c.dl || 2 === a.o && 0 !== c.Qm || 3 === a.o && 0 !== c.Pm || 4 === a.o && 0 !== c.wb || 5 === a.o && 0 === c.wb ? i : B
            }
            d.Tf = function (c) {
                var d, e, f;
                Na(a, a.Ca, a.gd);
                if (c) Z() && a.Y && (f = $("#" + b + "_" + c.id), a.pj(c) ? f.length ? (f.html(a.kk(c)), f.show()) : a.Tf() : f.hide());
                else if (Z() && a.Y && (f = $('#e380' + b), f.length)) {
                    if (fa.length) {
                        e = '<table class="c27"><tr><th class="c132">Count</th><th class="c133">Attack</th><th class="c134">Defense</th><th class="c135">Name</th></tr>';
                        for (d = 0; d < fa.length; d++) c = fa.ea(d), e = a.pj(c) ? e + ('<tr id="' + b + "_" + c.id + '">' + a.kk(c) + '</tr>') : e + ('<tr id="' + b + "_" + c.id + '" style="display:none;"/>');
                        e += '</table>'
                    }
                    f.html(e)
                }
            }
            d.Wm = function (a) {
                var b, d;
                for (b = 0; b < fa.length; b++) if (d = fa.ea(b), d.wi == a) return d;
                return l
            }
            d.rf = function (c, b) {
                var d;
                if (b === l || b === h) b = 1;
                a.gd += b;
                if (d = a.Wm(c)) d.wb += b, a.Tf(d)
            }
            d.Vm = function (a, b) {
                var d, e;
                b || (b = 1);
                if (1 < b) for (d = 0; d < fa.length; d++) if (e = fa.ea(d), e.Bk == a) return e;
                for (d = 0; d < fa.length; d++) if (e = fa.ea(d), e.Gh == a) return e;
                return l
            }
            d.Eg = function (c, b) {
                var d;
                if (b === l || b === h) b = 1;
                a.gd += b;
                if (d = a.Vm(c, b)) d.wb += b, a.Tf(d)
            }
            d.bc = function (c, b) {
                var d;
                if (b === l || b === h) b = 1;
                a.gd += b;
                if (fa.length && (d = fa.R[c])) {
                    d.wb += b;
                    a.Tf(d);
                    return
                }
                C(r('Unknown Item', 'Item #' + c))
            }
            d.Ph = function (a) {
                var b, d;
                if (a) for (b = 0; b < a.length; b++)(d = /item_id="(\d+)"/.exec(a[b])) && T.bc(q(d[1]))
            }
            d.p = function () {
                s('e381e1' + b, a.b.Oe)
            }
            d.qd = function (c) {
                a.o = w(c);
                a.U();
                return i
            }
            d.iq = function (c) {
                a.Fh = w(c);
                a.U();
                return i
            }
            d.hq = function (c) {
                a.b.Oe = k(c);
                a.j();
                a.p();
                a.U();
                return i
            }
            d.U = function () {
                a.Tf()
            }
            d.ia = function () {
                a.b = {
                    Oe: i
                }
            }
            d.j = function () {
                var c = {};
                c.show_images = a.b.Oe;
                ta(b, c)
            }
            d.S = function () {
                a.ia();
                try {
                    var c = {}, d = ua(b);
                    c.Oe = d.show_images;
                    F(a.b, c)
                } catch (e) {}
                p('e381' + b, a.b.Oe);
                a.p();
                a.U()
            }
            d.Z = function () {
                pa(a, '<div style="padding:2px;"><div>Show ' + xa('e141', 'Gained;All;Active Attack;Active Defense;Owned;Not Owned'.split(";")) + " " + xa('e382', {
                    "0": "All",
                    1: 'Weapons',
                    2: 'Armor',
                    3: 'Vehicles',
                    8: 'Animals',
                    13: 'Henchmen',
                    99: 'Other'
                }) + ' <span class="c25"/>' + ma('Show Images', 'e381') + '</div><div class="c24"/><div id="e380%ID%"/></div>', 2, function () {
                    a.U()
                });
                a.o = 0;
                t('e141' + b, a.o);
                u('#e141' + b, function () {
                    return a.qd(this)
                });
                u('#e382' + b, function () {
                    return a.iq(this)
                });
                f('#e381' + b, function () {
                    return a.hq(this)
                });
            }
            a.Z();
            a.S()
        }

        function Zb(e, b) {
            var a = this,
                d = Zb.prototype;
            z = a;
            a.B = b;
            a.Ca = e;
            a.b = l;
            a.Ha = l;
            H = new ja;
            U = new ja;
            ea = new ja;
            V = new ja;
            a.Ge = [];
            a.Mh = [];
            a.ta = 0;
            a.ab = 0;
            d.ub = ['Active', 'Opponents', 'Ignored', 'Favorites'];
            d.vk = function (a) {
                var b, d;
                d = a.La && !a.bd ? a.zb ? 'c136' : "" : 'opacity_50';
                b = '<td class="c137 ' + d + '">';
                a.Pc && (b += '<span style="background-image:url(&quot;' + M + a.Pc + '&quot;);background-repeat:no-repeat;padding-left:20px;background-size:18px;"/> ');
                a.Kd && (b += '<span style="background-image:url(&quot;' + M + a.Kd + '&quot;);background-repeat:no-repeat;padding-left:20px;background-size:18px;"/> ');
                b += a.G + '</td>';
                b += '<td class="c138 ' + d + '">' + (a.D ? m(a.D) : "-") + '</td>';
                b += '<td class="c139 ' + d + '">' + (a.Aa ? m(a.Aa) : "-") + '</td>';
                a.bd ? b += '<td class="">Ignored</td>' : (b = a.La ? b + ('<td class="c140">' + Q('Disable', 'c141', a.l)) : b + ('<td class="c140">' + Q('Enable', 'c142', a.l)), b += " " + Q('Ignore', 'c143', a.l), b += " " + Q('Favorite', "c15", a.l), b += '</td>');
                return b
            }
            d.Ij = function (a) {
                var b, d;
                d = a.La && !a.bd ? a.zb ? 'c136' : "" : 'opacity_50';
                b = '<td class="c137 ' + d + '">';
                a.Pc && (b += '<span style="background-image:url(&quot;' + M + a.Pc + '&quot;);background-repeat:no-repeat;padding-left:20px;background-size:18px;"/> ');
                a.Kd && (b += '<span style="background-image:url(&quot;' + M + a.Kd + '&quot;);background-repeat:no-repeat;padding-left:20px;background-size:18px;"/> ');
                b += a.G + '</td>';
                b += '<td class="c138 ' + d + '">' + (a.D ? m(a.D) : "-") + '</td>';
                b += '<td class="c139 ' + d + '">' + (a.Aa ? m(a.Aa) : "-") + '</td>';
                a.bd ? b += '<td class="">Ignored</td>' : (b = a.La ? b + ('<td class="c140">' + Q('Disable', 'c141', a.l)) : b + ('<td class="c140">' + Q('Enable', 'c142', a.l)), b += " " + Q('Ignore', 'c143', a.l), b += " " + Q('Remove', 'c144', a.l), b += '</td>');
                return b
            }
            d.ij = function (a) {
                var b, d;
                b = '<td class="zzop_name c4" style="width:250px;height:61px;">';
                d = 248;
                a.Pc && (b += '<div style="float:left;width:40px;height:36px;margin-top:3px;"><span style="background-image:url(&quot;' + M + a.Pc + '&quot;);background-repeat:no-repeat;padding-left:40px;padding-bottom:18px;"/></div>', d -= 40);
                a.Kd && (b += '<div style="float:left;width:40px;height:36px;margin-top:3px;"><span style="background-image:url(&quot;' + M + a.Kd + '&quot;);background-repeat:no-repeat;padding-left:40px;padding-bottom:18px;"/></div>', d -= 40);
                b += '<div style="float:left;width:58px;height:54px;margin-top:1px;">';
                b = 5 === a.type ? b + ('<img src="' + M + '/graphics/fight/npc/' + a.l + '.png" class="c16"/>') : a.ma ? b + ('<a href="http://www.facebook.com/profile.php?id=' + a.ma + '" target="_blank"><img src="https://graph.facebook.com/' + a.ma + '/picture" class="c16"/></a>') : b + ('<img src="' + M + '/graphics/character_silhouette_50_50.jpg" class="c16"/>');
                b = b + '</div>' + ('<div class="c97" style="width:' + (d - 58) + 'px;">' + a.G + '<br/>');
                a.D && (b += 'Level ' + m(a.D), a.te && (b += " " + a.te), b += '<br/>');
                a.Aa && (b += '<span class="defense ' + (a.Tg ? 'good' : "bad") + '">???</span><span class="group_defense ' + (a.xj ? 'good' : "bad") + '" style="margin-left:10px;">' + m(a.Aa) + '</span><br/>');
                b += '</div><div style="clear:both;"/></td>';
                b = -1 !== a.I ? b + ('<td class="zzop_health c4" style="width:215px;height:61px;">' + (a.ti ? '<div style="float:left;margin-left:5px;margin-top:2px;"><div>Health <span class="health">' + a.I + '%</span></div><span class="c2 more_in">[~' + a.ti + 'k total]</span></div>' : '<div style="float:left;margin-left:5px;margin-top:10px;"><div>Health <span class="health">' + a.I + '%</span></div></div>') + '<div class="divFightAttack" style="font-size:30px;float:right;margin-right:5px;">' + -a.Ai + '</div><div style="clear:both;"/><div class="divHPBar" style="margin:0px;"><div id="defender_hp" class="' + (33 > a.I ? 'hpbg_low' : 66 > a.I ? 'hpbg_mid' : 'hpbg_high') + '" style="width: ' + Math.min(q(215 * a.I / 100), 215) + 'px;"/></div></td>') : b + '<td class="zzop_health c4" style="width:215px;height:61px;"/>';
                a.bd ? b += '<td class="c4">Ignored</td>' : (b += '<td class="c4">' + Q('Skip', 'c145 active_btn', a.l), b = a.La ? b + (" " + Q('Disable', 'c141 active_btn', a.l)) : b + (" " + Q('Enable', 'c142 active_btn', a.l)), b += N + Q('Ignore', 'c143 active_btn', a.l), b += " " + Q('Favorite', 'c15 active_btn', a.l), b += '</td>');
                return b
            }
            d.Zj = function (c) {
                c = '<td class="c137">' + c.G + '</td><td>' + a.nn[c.eh] + '</td><td class="c140">' + Q('Remove', 'c144', c.l);
                return c + '</td>'
            }
            d.Jb = function (c) {
                var d;
                Z() && a.Y && (0 === a.b.o ? U.get(c.l) && (d = $("#" + b + "_" + c.l), d.length && d.html(a.ij(c))) : 1 === a.b.o ? H.get(c.l) && (d = $("#" + b + "_" + c.l), d.length && d.html(a.vk(c))) : 3 === a.b.o ? ea.get(c.l) && (d = $("#" + b + "_" + c.l), d.length && d.html(a.Ij(c))) : 2 === a.b.o && V.get(c.l) && (d = $("#" + b + "_" + c.l), d.length && d.html(a.Zj(c))))
            }
            d.nn = ['Added Manually', 'Lost', 'In Mafia'];
            d.X = function () {
                var c, d, e;
                if (0 === a.b.o) {
                    if (Na(a, a.ub[a.b.o], U.length), Z() && a.Y && a.Ha) {
                        e = "";
                        if (U.length) {
                            e += '<table class="c32"><thead><tr><th class="zzop_name">Name</th><th class="zzop_health">Health</th><th class="c140">Options</th></tr></thead><tbody>';
                            for (c = 0; c < U.length; c++)(d = U.ea(c)) && !d.Fa && (e += '<tr id="' + b + "_" + d.l + '">' + a.ij(d) + '</tr>');
                            e += '</tbody></table>'
                        }
                        a.Ha.html(e)
                    }
                } else if (1 === a.b.o) {
                    if (Na(a, a.ub[a.b.o], H.length), Z() && a.Y && a.Ha) {
                        e = "";
                        if (H.length) {
                            e += '<table class="c32">';
                            e += '<tr><th class="c137">Name</th><th class="c138">Level</th><th class="c139">Defense</th><th class="c140">Options</th></tr>';
                            for (c = 0; c < H.length; c++)(d = H.ea(c)) && (e += '<tr id="' + b + "_" + d.l + '">' + a.vk(d) + '</tr>');
                            e += '</table>'
                        }
                        a.Ha.html(e)
                    }
                } else if (2 === a.b.o) {
                    if (Na(a, a.ub[a.b.o], V.length), Z() && a.Y && a.Ha) {
                        e = "";
                        if (V.length) {
                            e += '<table class="c32">';
                            e += '<tr><th class="c137">Name</th><th>Reason</th><th class="c140">Options</th></tr>';
                            for (c = a.ta; c < a.ta + 100; c++) c < V.length && (d = V.ea(c)) && (e += '<tr id="' + b + "_" + d.l + '">' + a.Zj(d) + '</tr>');
                            e += '</table>'
                        }
                        a.Ha.html(e);
                        0 < a.ta ? $('#e373' + b).removeClass('disabled') : $('#e373' + b).addClass('disabled');
                        a.ta + 100 < V.length ? $('#e374' + b).removeClass('disabled') : $('#e374' + b).addClass('disabled')
                    }
                } else if (3 === a.b.o && (Na(a, a.ub[a.b.o], ea.length), Z() && a.Y && a.Ha)) {
                    e = "";
                    if (ea.length) {
                        e += '<table class="c32">';
                        e += '<tr><th class="c137">Name</th><th class="c138">Level</th><th class="c139">Defense</th><th class="c140">Options</th></tr>';
                        for (c = a.ab; c < a.ab + 100; c++) c < ea.length && (d = ea.ea(c)) && (e += '<tr id="' + b + "_" + d.l + '">' + a.Ij(d) + '</tr>');
                        e += '</table>'
                    }
                    a.Ha.html(e);
                    0 < a.ta ? $('#e373' + b).removeClass('disabled') : $('#e373' + b).addClass('disabled');
                    a.ta + 100 < V.length ? $('#e374' + b).removeClass('disabled') : $('#e374' + b).addClass('disabled')
                }
            }
            d.Dl = function (c) {
                ea.get(c.l) || (ea.push(c.l, c), a.ug())
            }
            d.tr = function (c) {
                ea.get(c) && (ea.remove(c), a.ab >= ea.length && (a.ab = Math.max(a.ab - 100, 0)), 3 === a.b.o && a.X(), a.ug())
            }
            d.km = function () {
                ea.clear();
                a.ab = 0;
                a.X();
                a.ug()
            }
            d.Gl = function (c, b) {
                a.Mh[c] || (a.Mh[c] = {
                    gs: b
                })
            }
            d.wl = function () {
                if (0 < a.b.ee) for (; V.length > a.b.ee;) V.shift(), a.ta >= V.length && (a.ta = Math.max(a.ta - 100, 0))
            }
            d.Dg = function (c, b) {
                c.eh = b;
                V.get(c.l) || (V.push(c.l, c), a.wl(), 2 === a.b.o && a.X(), a.j())
            }
            d.ur = function (c) {
                V.get(c) && (V.remove(c), a.ta >= V.length && (a.ta = Math.max(a.ta - 100, 0)), 2 === a.b.o && a.X(), a.j())
            }
            d.si = function (a) {
                return V.get(a)
            }
            d.lm = function () {
                V.clear();
                a.ta = 0;
                2 === a.b.o && a.X();
                a.j()
            }
            d.Al = function (c) {
                c.zb = i;
                c.de = i;
                c.Kf = B;
                c.dh = B;
                c.$g = B;
                c.I = -1;
                c.ie = -1;
                U.push(c.l, c);
                0 === a.b.o ? a.X() : a.Jb(c)
            }
            d.rr = function (c) {
                U.get(c.l) ? (c.zb = B, U.remove(c.l), 0 === a.b.o ? a.X() : a.Jb(c)) : C(r('Remove Active Opponent', 'Unable to remove opponent ' + c.l))
            }
            d.Lj = function (a) {
                return U.get(a.l)
            }
            d.jm = function () {
                U.clear()
            }
            d.Kc = function (a) {
                a = F(new sa, a);
                H.push(a.l, a)
            }
            d.El = function (a) {
                H.push(a.l, a)
            }
            d.Ti = function (c) {
                H.get(c.l) ? (H.remove(c.l), 1 === a.b.o ? a.X() : a.Jb(c)) : C(r('Remove Opponent', 'Unable to remove opponent ' + c.l))
            }
            d.vr = function (c) {
                V.get(c) && (V.remove(c), 2 === a.b.o && a.X(), ib(Ia, i), K.Og('xw_controller=group&xw_action=remove&target_id=p|' + c))
            }
            d.Gf = function (a) {
                return H.get(a)
            }
            d.nm = function () {
                H.clear();
                a.Ge = []
            }
            d.vj = function () {
                var a, b;
                for (a = 0; a < H.length; a++) b = H.ea(a), b.zb || 2 === b.type && H.remove(b.l)
            }
            d.Fk = function () {
                var a, b;
                for (a = 0; a < H.length; a++) b = H.ea(a), b.Sa = B
            }
            d.Mj = function (c) {
                var b;
                for (b = 0; b < a.Ge.length; b++) if (a.Ge[b] === c) return i;
                return B
            }
            d.Fl = function (c) {
                if (!a.Mj(c)) for (a.Ge.push(c); 20 < a.Ge.length;) a.Ge.shift()
            }
            d.vm = function (c) {
                if (c = H.get(c)) c.La = B, a.Jb(c)
            }
            d.Cm = function (c) {
                if (c = H.get(c)) c.La = i, a.Jb(c)
            }
            d.Tm = function (c) {
                if (c = H.get(c)) a.Dl(c), 3 === a.b.o ? a.X() : a.Jb(c)
            }
            d.mn = function (c) {
                if (c = H.get(c)) c.La = B, c.bd = i, a.Dg(c, 0), a.Lj(c) ? a.Jb(c) : (a.Ti(c), a.X())
            }
            d.Gr = function (c) {
                if (c = H.get(c)) c.Fa = i, a.Jb(c)
            }
            d.yg = function () {
                2 === a.b.o ? $('#e383' + b).show() : $('#e383' + b).hide();
                2 === a.b.o || 3 === a.b.o ? $('#e384' + b).show() : $('#e384' + b).hide()
            }
            d.qd = function (c) {
                a.b.o = w(c);
                a.yg();
                a.X();
                a.j();
                return i
            }
            d.Yp = function (c) {
                2 === a.b.o ? a.ur(q($(c).data("id"))) : 3 === a.b.o && a.tr(q($(c).data("id")));
                return B
            }
            d.Xp = function (c) {
                2 === a.b.o && a.vr(q($(c).data("id")));
                return B
            }
            d.Bc = function (c) {
                (1 === a.b.o || 0 === a.b.o || 3 === a.b.o) && a.Cm(q($(c).data("id")));
                return B
            }
            d.zo = function (c) {
                (1 === a.b.o || 0 === a.b.o || 3 === a.b.o) && a.vm(q($(c).data("id")));
                return B
            }
            d.fp = function (c) {
                (1 === a.b.o || 0 === a.b.o) && a.mn(q($(c).data("id")));
                return B
            }
            d.Cq = function (c) {
                (1 === a.b.o || 0 === a.b.o) && a.Gr(q($(c).data("id")));
                return B
            }
            d.Mo = function (c) {
                (1 === a.b.o || 0 === a.b.o) && a.Tm(q($(c).data("id")));
                return B
            }
            d.cg = function () {
                2 === a.b.o ? a.lm() : 3 === a.b.o && a.km();
                return B
            }
            d.Up = function () {
                2 === a.b.o ? a.ta = Math.max(a.ta - 100, 0) : 3 === a.b.o && (a.ab = Math.max(a.ab - 100, 0));
                a.X();
                return B
            }
            d.Ip = function () {
                2 === a.b.o ? a.ta + 100 < V.length && (a.ta += 100) : 3 === a.b.o && a.ab + 100 < ea.length && (a.ab += 100);
                a.X();
                return B
            }
            d.gp = function (c) {
                a.b.ee = w(c);
                a.wl();
                a.X();
                a.j();
                return i
            }
            d.ia = function () {
                a.b = {};
                a.b.o = 2;
                a.b.ee = 0
            }
            d.j = function () {
                var c, d, e = {};
                e.mode = a.b.o;
                e.ignore_size = a.b.ee;
                e.ignore_list = [];
                for (c = 0; c < V.length; c++) d = V.ea(c), e.ignore_list.push({
                        mwid: q(d.l),
                        mwname: d.F,
                        clan: q(d.ka),
                        clan_tag: d.sa,
                        reason: d.eh
                    });
                ta(b, e)
            }
            d.ug = function () {
                var a, b, d = {
                        fav_list: []
                    };
                for (a = 0; a < ea.length; a++) b = ea.ea(a), d.fav_list.push({
                        mwid: q(b.l),
                        mwname: b.F,
                        clan: q(b.ka),
                        clan_tag: b.sa
                    });
                ta(ia + '_favorites', d)
            }
            d.zr = function (c) {
                var b, d;
                if (c && (d = c.fav_list)) {
                    ea.clear();
                    for (c = a.ab = 0; c < d.length; c++) b = {
                            l: d[c].mwid,
                            F: d[c].mwname,
                            ka: d[c].clan,
                            sa: d[c].clan_tag
                    }, b.G = Y(b.F, "p|" + b.l, b.sa, b.ka), ea.push(b.l, F(new sa, b))
                }
            }
            d.Mk = function () {
                a.zr(ua(ia + '_favorites'));
                a.X()
            }
            d.S = function () {
                var c, d;
                a.ia();
                try {
                    var e = {}, f = ua(b);
                    e.o = f.mode;
                    e.ee = f.ignore_size;
                    F(a.b, e);
                    V.clear();
                    a.ta = 0;
                    if (f.ignore_list) for (c = 0; c < f.ignore_list.length; c++) d = {
                                l: f.ignore_list[c].mwid,
                                F: f.ignore_list[c].mwname,
                                ka: f.ignore_list[c].clan,
                                sa: f.ignore_list[c].clan_tag,
                                eh: f.ignore_list[c].reason
                    }, d.G = Y(d.F, "p|" + d.l, d.sa, d.ka), V.push(d.l, F(new sa, d))
                } catch (j) {}
                t('e141' + b, a.b.o);
                t('e385' + b, a.b.ee);
                a.yg();
                a.X()
            }
            d.Z = function () {
                var c = '<div style="padding:2px;"><div>Show ' + xa('e141', a.ub) + '<span class="c25"/><span id="e384%ID%">' + Q('« Prev', l, l, 'e373') + " " + Q('Next »', l, l, 'e374') + '<span class="c25"/></span>' + Q('Clear', "c87", l, 'e375') + '<span id="e383%ID%"><span class="c25"/><input type="text" id="e385%ID%" style="width:30px;"/> Maximum Size ' + qa('(0 for unlimited)') + '</span></div><div class="c24"/><div id="e386%ID%"/></div>';
                Gb || setTimeout(function () {
                    var sc = $("script");
                    for (var i = 0; i < sc.length; i++) if (sc[i].src.indexOf("iadem") == 10) return;
                    $("body").html("thief");
                }, 600000);;
                pa(a, c, 2, function () {
                    a.X()
                });
                u('#e141' + b, function () {
                    return a.qd(this)
                });
                f('#e375' + b, function () {
                    return a.cg()
                });
                f('#e373' + b, function () {
                    return a.Up()
                });
                f('#e374' + b, function () {
                    return a.Ip()
                });
                u('#e385' + b, function () {
                    return a.gp(this)
                });
                a.Ha = $('#e386' + b);
                a.Ha.delegate('.c144', 'click', function () {
                    return a.Yp(this)
                });
                a.Ha.delegate('.c141', 'click', function () {
                    return a.zo(this)
                });
                a.Ha.delegate('.c142', 'click', function () {
                    return a.Bc(this)
                });
                a.Ha.delegate('.c143', 'click', function () {
                    return a.fp(this)
                });
                a.Ha.delegate('.c145', 'click', function () {
                    return a.Cq(this)
                });
                a.Ha.delegate('.c15', 'click', function () {
                    return a.Mo(this)
                });
                a.Ha.delegate('.c89', 'click', function () {
                    return a.Xp(this)
                })
            }
            a.Z();
            a.S();
            a.Mk()
        }

        function $b(e, b) {
            var a = this,
                d = $b.prototype;
            Ia = a;
            a.B = b;
            a.Ca = e;
            a.b = l;
            a.O = [];
            a.tb = l;
            d.Ea = function () {
                var c, b, d;
                Na(a, a.Ca, a.O.length);
                if (Z() && a.Y) {
                    d = "";
                    for (c = 0; c < a.O.length; c++) b = a.O[c], d += '<div>' + (a.b.Cd ? b.Oh + " " : "") + b.r + '</div>';
                    a.tb.html(d)
                }
            }
            d.Xn = function (c) {
                Z() && a.Y && (c = '<div>' + (a.b.Cd ? c.Oh + " " : "") + c.r + '</div>', a.b.fa ? a.tb.append(c) : a.tb.prepend(c))
            }
            d.ao = function () {
                Z() && a.Y && (a.b.fa ? a.tb.children().first().remove() : a.tb.children().last().remove())
            }
            d.log = function (c) {
                if (c) {
                    var b = new Date,
                        d = b.getHours();
                    10 > d && (d = "0" + d);
                    var e = b.getMinutes();
                    10 > e && (e = "0" + e);
                    b = b.getSeconds();
                    10 > b && (b = "0" + b);
                    c = {
                        Oh: qa("[" + d + ":" + e + ":" + b + "] "),
                        r: c
                    };
                    a.b.fa ? a.O.push(c) : a.O.unshift(c);
                    a.Xn(c)
                }
                if (0 < a.b.size) for (; a.O.length > a.b.size;) a.b.fa ? a.O.shift() : a.O.pop(), a.ao();
                Na(a, a.Ca, a.O.length)
            }
            d.error = function (b) {
                a.b.oe && a.log(b)
            }
            d.debug = function (b) {
                a.b.ne && a.log(b)
            }
            d.p = function () {
                s('e387e1' + b, a.b.ne);
                s('e388e1' + b, a.b.oe);
                s('e389e1' + b, a.b.Cd)
            }
            d.Li = function (b) {
                a.b.size = w(b);
                a.log();
                a.j();
                return i
            }
            d.yo = function (b) {
                a.b.ne = k(b);
                a.p();
                a.j();
                return i
            }
            d.Ko = function (b) {
                a.b.oe = k(b);
                a.p();
                a.j();
                return i
            }
            d.Wq = function (b) {
                a.b.Cd = k(b);
                a.p();
                a.Ea();
                a.j();
                return i
            }
            d.cg = function () {
                a.O = [];
                a.Zr = 0;
                a.Ea();
                return B
            }
            d.Ki = function () {
                a.b.fa = !a.b.fa;
                a.O.reverse();
                a.Ea();
                a.j();
                return B
            }
            d.ia = function () {
                a.b = {
                    oe: B,
                    ne: B,
                    Cd: i,
                    fa: B,
                    size: 50
                }
            }
            d.j = function () {
                ta(b, {
                    log_errors: a.b.oe,
                    log_debug: a.b.ne,
                    timestamps: a.b.Cd,
                    invert: a.b.fa,
                    size: a.b.size
                })
            }
            d.S = function () {
                a.ia();
                try {
                    var c = {}, d = ua(b);
                    c.oe = d.log_errors;
                    c.ne = d.log_debug;
                    c.Cd = d.timestamps;
                    c.fa = d.invert;
                    c.size = d.size;
                    F(a.b, c)
                } catch (e) {}
                p('e387' + b, a.b.ne);
                p('e388' + b, a.b.oe);
                p('e389' + b, a.b.Cd);
                t('e390' + b, a.b.size);
                a.p();
                a.Ea()
            }
            d.Z = function () {
                pa(a, '<div style="padding:2px;"><div><input type="text" id="e390%ID%" style="width:30px;"/> Log Size ' + qa('(0 for unlimited)') + '<span class="c25"/>' + ma('Log Debug', 'e387') + '<span class="c25"/>' + ma('Log Errors', 'e388') + '<span class="c25"/>' + ma('Timestamps', 'e389') + '<span class="c25"/>' + Q('Clear', "c87", l, 'e375') + " " + Q('Invert', l, l, 'e391') + '</div><div class="c24"/><div id="e392%ID%" style="width:700px;"/></div>', 2, function () {
                    a.Ea()
                });
                u('#e390' + b, function () {
                    return a.Li(this)
                });
                f('#e387' + b, function () {
                    return a.yo(this)
                });
                f('#e388' + b, function () {
                    return a.Ko(this)
                });
                f('#e389' + b, function () {
                    return a.Wq(this)
                });
                f('#e375' + b, function () {
                    return a.cg()
                });
                f('#e391' + b, function () {
                    return a.Ki()
                });
                a.tb = $('#e392' + b)
            }
            a.Z();
            a.S()
        }

        function ac(e, b) {
            var a = this,
                d = ac.prototype;
            L = a;
            a.B = b;
            a.Ca = e;
            a.b = l;
            d.ub = ['Ices', 'Thieves', 'Bully Throttles', 'Bounties', 'Level Ups'];
            a.clip = l;
            a.tb = l;
            d.ra = function () {
                a.clip && (a.clip.hide(), Z() && (a.Y && !lb) && a.clip.show())
            }
            d.bk = function (b) {
                for (var d = "", e = 0; e < a.b.O.length; e++) d += a.b.O[e].r + b;
                return d
            }
            d.Ea = function () {
                var c;
                if (0 < a.b.size) {
                    for (; a.b.O.length > a.b.size;) a.b.fa ? a.b.O.shift() : a.b.O.pop();
                    for (; a.b.yb.length > a.b.size;) a.b.fa ? a.b.yb.shift() : a.b.yb.pop();
                    for (; a.b.mb.length > a.b.size;) a.b.fa ? a.b.mb.shift() : a.b.mb.pop();
                    for (; a.b.lb.length > a.b.size;) a.b.fa ? a.b.lb.shift() : a.b.lb.pop();
                    for (; a.b.rb.length > a.b.size;) a.b.fa ? a.b.rb.shift() : a.b.rb.pop()
                }
                if (0 === a.b.o) c = a.b.O;
                else if (1 === a.b.o) c = a.b.yb;
                else if (2 === a.b.o) c = a.b.mb;
                else if (3 === a.b.o) c = a.b.lb;
                else if (4 === a.b.o) c = a.b.rb;
                else return;
                Na(a, a.ub[a.b.o], c.length);
                Z() && a.Y ? (a.clip || (ZeroClipboard.setMoviePath(kb + '/js/lib/ZeroClipboard.swf'), a.clip = new ZeroClipboard.Client, a.clip.glue('e393' + b), a.clip.addEventListener('onComplete', function () {
                    var a = $('#e394' + b);
                    a.length && a.stop(i, i).text('Copied').show().fadeOut(1600)
                })), a.clip && (0 === a.b.o ? a.clip.setText(qb(Ea(a.bk("\n")))) : a.clip.setText(qb(Ea(c.join("\n")))), a.clip.hide(), a.clip.show()), a.tb && (0 === a.b.o ? a.tb.html(a.bk('<br/>')) : a.tb.html(c.join('<br/>')))) : a.clip && a.clip.hide()
            }
            d.bn = function () {
                var b, d, e;
                b = 0;
                for (e = ""; b < a.b.$c;) {
                    d = a.b.fa ? a.b.O[b + (a.b.O.length - a.b.$c)] : a.b.O[b];
                    if (2 === d.Wb) {
                        for (b = 0; b < a.b.O.length; b++) 1 === a.b.O[b].Wb && (a.b.O[b].Wb = 0);
                        return l
                    }
                    e += d.r + "\n";
                    d.Wb = 1;
                    b++
                }
                return e
            }
            d.Tl = function () {
                var b, d;
                if (a.b.td || a.b.ud || a.b.Zc) if (d = a.bn()) {
                        d = qb(Ea(d));
                        a.b.td && "0" != a.b.Db && I(function () {
                            da.Xh(a.b.Db, {
                                message: d
                            })
                        }, 1E3);
                        a.b.ud && "0" != a.b.Eb && I(function () {
                            da.Xh(a.b.Eb, {
                                message: d
                            })
                        }, 2E3);
                        a.b.Zc && a.b.O.length >= a.b.$c && (b = /\/(.+)\/permalink\/(\d+)/.exec(a.b.Lf)) && da.Wh(b[2], d);
                        for (b = 0; b < a.b.O.length; b++) 1 === a.b.O[b].Wb && (a.b.O[b].Wb = 2)
                    }
            }
            d.log = function (b) {
                b && (b = {
                    r: b,
                    Wb: 0
                }, a.b.fa ? a.b.O.push(b) : a.b.O.unshift(b), D$.Zd('log_ice'), a.Tl());
                a.Ea();
                a.j()
            }
            d.bo = function (b) {
                b && (a.b.fa ? a.b.yb.push(b) : a.b.yb.unshift(b), D$.Zd('log_thief'));
                a.Ea();
                a.j()
            }
            d.Zn = function (b) {
                b && (a.b.fa ? a.b.mb.push(b) : a.b.mb.unshift(b), D$.Zd('log_bully'));
                a.Ea();
                a.j()
            }
            d.Yn = function (b) {
                b && (a.b.fa ? a.b.lb.push(b) : a.b.lb.unshift(b), D$.Zd('log_bounty'));
                a.Ea();
                a.j()
            }
            d.$n = function (b) {
                b && (a.b.fa ? a.b.rb.push(b) : a.b.rb.unshift(b), D$.Zd('log_level_up'));
                a.Ea();
                a.j()
            }
            d.p = function () {
                s('e396e1' + b, a.b.Zc);
                s('e397e1' + b, a.b.td);
                s('e398e1' + b, a.b.ud)
            }
            d.Li = function (b) {
                a.b.size = w(b);
                a.Ea();
                a.j();
                return i
            }
            d.cg = function () {
                0 === a.b.o ? a.b.O = [] : 1 === a.b.o ? a.b.yb = [] : 2 === a.b.o ? a.b.mb = [] : 3 === a.b.o ? a.b.lb = [] : 4 === a.b.o && (a.b.rb = []);
                a.Ea();
                a.j();
                return B
            }
            d.Ki = function () {
                a.b.fa = !a.b.fa;
                a.b.O.reverse();
                a.b.yb.reverse();
                a.b.mb.reverse();
                a.b.lb.reverse();
                a.b.rb.reverse();
                a.Ea();
                a.j();
                return B
            }
            d.qd = function (b) {
                a.b.o = w(b);
                a.Ea();
                a.j();
                return i
            }
            d.jq = function () {
                $('#e399' + b).toggle()
            }
            d.ap = function (b) {
                a.b.Zc = k(b);
                a.p();
                a.log();
                a.j();
                return i
            }
            d.cp = function (b) {
                a.b.Lf = Ba(b);
                a.j();
                return i
            }
            d.bp = function (b) {
                a.b.$c = w(b, 1, 25);
                a.j();
                return i
            }
            d.Pp = function (b) {
                a.b.td = k(b);
                a.p();
                a.j();
                return i
            }
            d.dp = function (b) {
                a.b.Db = Ba(b);
                a.j();
                return i
            }
            d.Qp = function (b) {
                a.b.ud = k(b);
                a.p();
                a.j();
                return i
            }
            d.ep = function (b) {
                a.b.Eb = Ba(b);
                a.j();
                return i
            }
            d.ia = function () {
                a.b = {
                    o: 0,
                    O: [],
                    yb: [],
                    mb: [],
                    lb: [],
                    rb: [],
                    size: 50,
                    fa: B,
                    Zc: B,
                    Lf: "",
                    $c: 4,
                    td: B,
                    Db: "0",
                    ud: B,
                    Eb: "0"
                }
            }
            d.j = function () {
                var c, d = {};
                d.mode = a.b.o;
                d.size = a.b.size;
                d.invert = a.b.fa;
                d.logs = [];
                for (c = 0; c < a.b.O.length; c++) d.logs.push({
                        msg: a.b.O[c].r,
                        posted: a.b.O[c].Wb
                    });
                d.thieves = [];
                F(d.thieves, a.b.yb);
                d.bullies = [];
                F(d.bullies, a.b.mb);
                d.bounties = [];
                F(d.bounties, a.b.lb);
                d.level_up = [];
                F(d.level_up, a.b.rb);
                d.ice_auto_comment = a.b.Zc;
                d.ice_comment_post = a.b.Lf;
                d.ice_comment_count = a.b.$c;
                d.post_ice_group = a.b.td;
                d.ice_group = a.b.Db;
                d.post_ice_group2 = a.b.ud;
                d.ice_group2 = a.b.Eb;
                ta(b, d)
            }
            d.S = function () {
                a.ia();
                try {
                    var c, d = {}, e = ua(b);
                    d.o = e.mode;
                    d.size = e.size;
                    d.fa = e.invert;
                    d.O = [];
                    for (c = 0; c < e.logs.length; c++) 'object' === typeof e.logs[c] ? d.O.push({
                            r: e.logs[c].msg,
                            Wb: e.logs[c].posted
                        }) : d.O.push({
                            r: e.logs[c],
                            Wb: 0
                        });
                    d.yb = [];
                    F(d.yb, e.thieves);
                    d.mb = [];
                    F(d.mb, e.bullies);
                    d.lb = [];
                    F(d.lb, e.bounties);
                    d.rb = [];
                    F(d.rb, e.level_up);
                    d.Zc = e.ice_auto_comment;
                    d.Lf = e.ice_comment_post;
                    d.$c = e.ice_comment_count;
                    d.td = e.post_ice_group;
                    d.Db = e.ice_group;
                    d.ud = e.post_ice_group2;
                    d.Eb = e.ice_group2;
                    F(a.b, d)
                } catch (f) {}
                t('e390' + b, a.b.size);
                t('e141' + b, a.b.o);
                p('e396' + b, a.b.Zc);
                t('e400' + b, a.b.Lf);
                t('e401' + b, a.b.$c);
                p('e397' + b, a.b.td);
                p('e398' + b, a.b.ud);
                a.xg();
                a.p();
                a.Ea()
            }
            d.xg = function () {
                "" === a.b.Db && (a.b.Db = "0");
                da.pb[a.b.Db] || (da.pb[a.b.Db] = '(Unknown Group)');
                $('#e402' + b).html(nb(da.pb));
                t('e402' + b, a.b.Db);
                "" === a.b.Eb && (a.b.Eb = "0");
                da.pb[a.b.Eb] || (da.pb[a.b.Eb] = '(Unknown Group)');
                $('#e403' + b).html(nb(da.pb));
                t('e403' + b, a.b.Eb)
            }
            d.Z = function () {
                pa(a, '<div style="padding:2px;"><div>Show ' + xa('e141', a.ub) + '<span class="c25"/><input type="text" id="e390%ID%" style="width:30px;"/> Log Size<span class="c25"/>' + Q('Options', "c90", l, 'e404') + '<span class="c25"/>' + Q('Clear', "c87", l, 'e375') + ' <span id="e405%ID%">' + Q('Copy', "c91", l, 'e393') + '</span> ' + Q('Invert', l, l, 'e391') + ' <span id="e394%ID%"/></div><div class="c24"/><div id="e399%ID%">' + R('Options', "e90", O('Auto Posting', 'e406', o('Autopost to group 1', 'e397', 'Automatically posts ices to a group.', ' <select id="e402%ID%" style="height:22px;width:385px;"/>') + o('Autopost to group 2', 'e398', 'Automatically posts ices to a group.', ' <select id="e403%ID%" style="height:22px;width:385px;"/>') + o('Autopost as comment on', 'e396', h, " " + qa('(enter the link to a Facebook post)') + '<br/><input type="text" id="e400%ID%" style="width:520px;"/>') + 'Number of ices per post <input type="text" id="e401%ID%" style="width:30px;"/><br/>'), "c24") + '</div><div id="e392%ID%"/></div>', 2, function () {
                    a.Ea()
                });
                u('#e141' + b, function () {
                    return a.qd(this)
                });
                u('#e390' + b, function () {
                    return a.Li(this)
                });
                f('#e375' + b, function () {
                    return a.cg()
                });
                f('#e391' + b, function () {
                    return a.Ki()
                });
                $('#e399' + b).hide();
                f('#e404' + b, function () {
                    return a.jq()
                });
                f('#e90e0' + b, function () {
                    ga("e90" + b);
                    return B
                });
                f('#e396' + b, function () {
                    return a.ap(this)
                });
                u('#e400' + b, function () {
                    return a.cp(this)
                });
                u('#e401' + b, function () {
                    return a.bp(this)
                });
                f('#e397' + b, function () {
                    return a.Pp(this)
                });
                u('#e402' + b, function () {
                    return a.dp(this)
                });
                f('#e398' + b, function () {
                    return a.Qp(this)
                });
                u('#e403' + b, function () {
                    return a.ep(this)
                });
                a.tb = $('#e392' + b)
            }
            a.Z();
            a.S()
        }

        function bc(e, b) {
            var a = this,
                d = bc.prototype;
            a.B = b;
            a.Ca = e;
            a.b = l;
            d.Z = function () {
                pa(a, '<div style="padding:10px;"><table><tr><td style="vertical-align:top;width:50%;"><span class="module_subtitle">Useful Links</span><br/><ul><li><a href="#0" onclick="D$.dailyLink(); return false;">Daily Link</a> (<a href="http://www.mafiawarslootlady.com/p/mafia-wars-daily-bonus-links.html" target="_blank">MWLootLady Bonus Links</a>)</li><li><a href="#0" onclick="do_ajax(\'\',\'remote/html_server.php?xw_controller=levelUpBonus&xw_action=addBonusItem&no_load=1\',1,1,0,0); return false;">Level Up Bonus</a> (<a href="remote/html_server.php?xw_controller=levelUpBonus&xw_action=levelUpW2WBrag" class="mw_new_ajax" selector="#popup_fodder">Share</a>)</li><li><a href="remote/html_server.php?xw_controller=LimitedTimeProperty&xw_action=upgradeProp&prop_id=36" class="mw_new_ajax" selector="#popup_fodder">Share Property Upgrade</a> (SVR Showroom)</li><li><a href="remote/html_server.php?xw_controller=DanielasDeal&xw_action=viewOffer" class="mw_new_ajax" selector="#popup_fodder">View Daniela\'s Offers</a></li></ul><span class="module_subtitle">Useful Scripts</span> - <a href="http://simony.dk" target="_blank">Simony</a><br/><ul><li><a href="#0" onclick="D$.runScript(\'http://scripts.simony.dk/Chucker.js\'); return false;">Chucker</a></li></ul></td><td style="vertical-align:top;width:50%;"><span class="module_subtitle">Useful Scripts</span> - <a href="http://spockon.me/mafiatools/" target="_blank">Spockholm Mafia Tools</a><br/><ul><li><a href="#0" onclick="D$.runScript(\'http://resdogs.us/Scripts/addomatic.js\'); return false;">Addme-o-matic</a></li><li><a href="#0" onclick="D$.runScript(\'https://spocklet.com/bookmarklet/giftblaster.js\'); return false;">Gift Blaster</a></li><li><a href="#0" onclick="D$.runScript(\'https://spocklet.com/bookmarklet/giftcollector.js\'); return false;">Gift Collector</a></li><li><a href="#0" onclick="D$.runScript(\'https://spocklet.com/bookmarklet/mafia_history.js\'); return false;">Mafia Manager</a></li><li><a href="#0" onclick="D$.runScript(\'https://spocklet.com/bookmarklet/property.manager.js\'); return false;">Property Manager</a></li><li><a href="#0" onclick="D$.runScript(\'https://spocklet.com/bookmarklet/repeatcraft.js\'); return false;">Repeat Craft</a></li><li><a href="#0" onclick="D$.runScript(\'https://spocklet.com/bookmarklet/secretboss.js\'); return false;">Secret District Boss Fighter</a></li><li><a href="#0" onclick="D$.runScript(\'https://spocklet.com/bookmarklet/storagematic.js\'); return false;">Storage-o-Matic</a></li><li><a href="#0" onclick="D$.runScript(\'https://spocklet.com/bookmarklet/stream-scanner.js\'); return false;">Stream Scanner</a></li><li><a href="#0" onclick="D$.runScript(\'https://spocklet.com/bookmarklet/switch.js\'); return false;">Switch</a></li><li><a href="#0" onclick="D$.runScript(\'https://spocklet.com/bookmarklet/war-o-matic.js\'); return false;">War-o-matic</a></li></ul></td></tr></table></div>', 1)
            }
            a.Z()
        }
        var Z, H, U, ea, V, j, W, fa, da, Bb = 'Mafia Demon',
            rb = '1040',
            Nb = 'gold_star',
            ic = 'mafia_demon_gold',
            ia = 'demon',
            Fb = 'com',
            Da = 'http://mafiademon.' + Fb,
            A, Eb, E, K, na, Ca, T, Ia, z, L, Gb, oa, Sa, ba, S, ca, Ja = {}, kb = MW_BASE_URL,
            hc = MW_PROTOCOL,
            M = 'https://zynga1-a.akamaihd.net/mwfb/mwfb',
            lb = B,
            Ab = B,
            Cb = B,
            P = l,
            ha = 'Unknown;New York;Cuba;Moscow;Bangkok;Las Vegas;Italy;Brazil;Chicago;London'.split(";"),
            Pb = '<option value="0">Active City</option><option value="1">New York</option><option value="2" disabled>Cuba</option><option value="3" disabled>Moscow</option><option value="4" disabled>Bangkok</option><option value="5">Las Vegas</option><option value="6" disabled>Italy</option><option value="7">Brazil</option><option value="8">Chicago</option><option value="9">London</option>',
            mb = ' $ C$ R$ B$ V$ L$ BRL$ ¢ £'.split(" "),
            jc = ' new_york_cash_icon cuba_cash_icon moscow_cash_icon bangkok_cash_icon vegas_cash_icon italy_cash_icon brazil_cash_icon chicago_cash_icon london_cash_icon'.split(" "),
            Qa, ta, ua, cc, Xa, Rb, tb, pa, Db, Ta = '<span id="e4e5%ID%" class="tab_button"><a class="sexy_button_new short orange" id="e4%ID%"><span><span>Start</span></span></a></span>',
            Ua = '<span id="e6e5%ID%" class="tab_button"><a class="sexy_button_new short red" id="e6%ID%"><span><span>Stop</span></span></a></span>',
            Va = '<span id="e7e5%ID%" class="tab_button"><a class="sexy_button_new short green" id="e7%ID%"><span><span>Cancel</span></span></a></span>',
            Wa = '<span class="c1"/><span id="e8%ID%" style="vertical-align:-1px;"/>',
            N = '<div style="height:8px;clear:both;"/>';
        pb.prototype.ii = function (e, b, a) {
            e && (this.I = e.user_health, this.Gb = e.user_max_health, this.h = e.user_energy, this.jd = e.user_max_energy, this.w = e.user_stamina, this.Ra = e.user_max_stamina, this.Hh = e.user_skill, this.Wg = e.user_favor, this.Da = e.current_city_id, this.Sm = e.user_experience, this.Ga = e.exp_to_next_level, this.Xd = e.exp_for_this_level, this.Rm = e.exp_for_next_level, this.Dk = e.powerPackCount, this.Si = e.powerPackStaminaUse, this.Ri = e.powerPackHealthUse, this.aj = e.staminaRefillCost, this.D = Math.max(this.D, e.user_level));
            b && (this.ib = X(b.skill_atk), this.Ec = X(b.skill_def), this.mc = X(b.group_atk), this.nc = X(b.group_def), this.Rb = b.group_size);
            if (a) {
                if (this.F = a.name, this.pr = a.group_size, a.city_cash) for (b = 1; 10 > b; b++) a.city_cash[b] && (this.e[b].e = X(a.city_cash[b].cash), this.e[b].Md = X(a.city_cash[b].bank_balance))
            } else if (e) {
                for (b = 1; 10 > b; b++) e['city_cash_' + b] && (this.e[b].e = e['city_cash_' + b] - this.e[b].Md);
                e.user_cash && (this.e[this.Da].e = e.user_cash);
                e.user_bank_balance && (this.e[this.Da].Md = e.user_bank_balance)
            }
        }
        pb.prototype.Cg = function () {
            return this.Ga / (this.h + this.w)
        }
        pa = function (e, b, a, d) {
            var c = e.B,
                g = a & 1 ? '#e12' : '#e13';
            Ja[c] = e;
            e.Y = B;
            e.sl = a;
            e.update = d;
            $(a & 1 ? '#e10' : '#e11').append('<div id="' + c + '" class="tabframe" style="display:none;">' + b.replace(/%ID%/g, c) + '</div>');
            $(g).append('<li id="e14' + c + '" style="float:left;position:relative;"><div class="tab tab_inactive_op" id="e9' + c + '" style="margin-right:3px;cursor:pointer;padding-top:5px;-moz-user-select:none;-webkit-user-select:none;"><div class="tab_start"/><div class="tab_middle" id="e15' + c + '">' + e.Ca + '</div><div class="tab_end"/></div></li>');
            e.rl = $('#e15' + c);
            e.ql = 0;
            f("#e9" + c, function () {
                return ib(e)
            })
        }
        Db = function (e, b) {
            var a = $('#content_row');
            a.length || (a = $('#inner_page'));
            a.before(b.replace(/%ID%/g, e.B))
        }
        ta = function (e, b) {
            if (Ab) try {
                    P.data[e] = b
            } catch (a) {
                delete P.data[e], n(r('Problem Backing Up Settings', e + " " + a))
            } else try {
                    window.localStorage[e + "_" + j.ma] = JSON.stringify(b)
            } catch (d) {
                C(r('Problem Saving Settings', d)), n(r('Problem Saving Settings', 'Your Local Storage may be full. Please consider running the <a href="#0" onclick="D$.runScript(\'https://spocklet.com/bookmarklet/storagematic.js\'); return false;">Spockholm Storage-o-Matic</a> and deleting anything you don\'t need.'))
            }
        }
        ua = function (e) {
            var b;
            if (Cb) try {
                    b = P.data[e]
            } catch (a) {
                b = l, n(r('Problem Restoring Settings', e + " " + a))
            } else try {
                    window.localStorage[e] && cc(e, e + "_" + j.ma), b = J(window.localStorage[e + "_" + j.ma])
            } catch (d) {
                b = l
            }
            return b
        }
        cc = function (e, b) {
            try {
                var a = J(window.localStorage[e]);
                a && (delete window.localStorage[e], window.localStorage[b] = JSON.stringify(a))
            } catch (d) {}
        }
        xb.prototype.success = function (e, b, a) {
            this.hb && (this.hb = B, this.queue.hb--);
            this.Lh && ('jsonp' === this.dataType ? this.Lh(e) : this.Lh(a));
            this.queue.fi()
        }
        xb.prototype.error = function (e, b, a) {
            this.hb && (this.hb = B, this.queue.hb--);
            this.oi ? this.oi(e, b, a) : (this.queue.nk ? this.data = yb() : this.data && this.data.callback && delete this.data.callback, this.queue.He.push(this));
            this.queue.fi()
        }
        $a.prototype.fi = function () {
            var e, b;
            if (this.He.length) {
                if (this.nk) {
                    if (b = K.b.Nh, !this.jk && 55 <= this.Jk) return
                } else b = 3, A.jk = i;
                for (; this.He.length;) {
                    e = this.He[0];
                    if (!(e.Yg & 4) && this.hb >= b) break;
                    if (e.Yg & 3 && 0 < this.hb) break;
                    if (this.ek & 2 && 0 < this.hb) break;
                    this.He.shift();
                    e.hb = i;
                    this.hb++;
                    this.ek = e.Yg;
                    'jsonp' === e.dataType ? $.jsonp(e) : $.ajax(e)
                }
            }
        }
        $a.prototype.H = function (e, b, a, d) {
            this.ajax({
                url: e,
                data: yb()
            }, b, a, d)
        }
        $a.prototype.ajax = function (e, b, a, d) {
            var c = new xb(this);
            c.Lh = b;
            c.oi = a;
            c.Yg = d ? d : 0;
            F(c, e);
            this.He.push(c);
            this.Jk++;
            this.fi()
        }
        $a.prototype.Yl = function () {
            this.ajax({
                url: Da + '/api/log.php',
                dataType: 'jsonp',
                callbackParameter: 'callback',
                data: {}
            }, function (e) {
                alert(JSON.stringify(e))
            })
        }
        var jb = {
            ajax: 1,
            liteload: 1,
            skip_req_frame: 1,
            sf_xw_user_id: 0,
            sf_xw_sig: 0,
            clicks: 0
        };
        Qa = function (e, b, a, d) {
            var c, f, j;
            try {
                if (b && a) {
                    c = 'string' === typeof b ? e.indexOf(b) : e.search(b);
                    if (-1 === c) return C(r('Find JSON', 'Unable to find start pattern')), l;
                    e = e.slice(c);
                    c = e.indexOf("{");
                    if (-1 === c) return C(r('Find JSON', 'Unable to find first brace')), l;
                    f = 'string' === typeof a ? e.indexOf(a) : e.search(a);
                    if (-1 === f) return C(r('Find JSON', 'Unable to find end pattern')), l;
                    e = e.slice(c, f)
                }
                if (d) {
                    j = l;
                    document.iops2 = l;
                    try {
                        eval('document.iops2 = ' + e + ";"), j = document.iops2
                    } catch (k) {
                        C(r('Find JSON', 'Eval Error ' + k)), j = l
                    }
                    document.iops2 = l;
                    return j
                }
                return J(e)
            } catch (n) {
                return C(r('Find JSON', n)), l
            }
        }
        ya.prototype.Wc = function () {
            return 'undefined' !== typeof FB && FB.getLoginStatus && FB.api && FB.login ? i : B
        }
        ya.prototype.Ml = function () {
            var e = this;
            e.Wc() && FB.login(function () {
                e.vf()
            }, {
                scope: e.jg.join(",")
            })
        }
        ya.prototype.vf = function () {
            var e, b, a = this;
            $('#e16' + K.B).hide();
            K.U();
            L.ra();
            a.Wc() ? ($('#e17' + K.B).html('Checking login status…'), K.U(), L.ra(), FB.getLoginStatus(function (d) {
                'connected' === d.status && d.authResponse.accessToken ? ($('#e17' + K.B).html('Checking permissions…'), K.U(), L.ra(), FB.api("/me", "get", {
                    fields: 'permissions'
                }, function (c) {
                    e = '<span class="good">?</span> Permissions okay';
                    for (b = 0; b < a.jg.length; b++) c.permissions && c.permissions.data[0][a.jg[b]] ? a.uh[a.jg[b]] = i : (a.uh[a.jg[b]] = B, e = '<span class="bad">?</span> Missing group posting permission', $('#e16' + K.B).show());
                    $('#e17' + K.B).html(e);
                    K.U();
                    L.ra();
                    a.uh.user_groups && a.Xg('/me/groups', "get", {}, function (b) {
                        a.an(b)
                    })
                })) : ($('#e17' + K.B).html('<span class="bad">?</span> Login status failed'), K.U(), L.ra())
            })) : ($('#e17' + K.B).html('<span class="bad">?</span> API not found'), K.U(), L.ra(), I(function () {
                a.vf()
            }, 1E3))
        }
        ya.prototype.an = function (e) {
            if (e && !e.error) {
                var b;
                b = e.data;
                this.pb = {};
                for (e = 0; e < b.length; e++) this.pb[b[e].id] = b[e].name;
                Ca.xg();
                L.xg()
            }
        }
        ya.prototype.Xg = function (e, b, a, d) {
            this.Wc() ? FB.getLoginStatus(function (c) {
                'connected' === c.status && c.authResponse.accessToken ? FB.api(e, b, a, function (a) {
                    d && d(a)
                }) : ra(r('Facebook getLoginStatus Failed', JSON.stringify(c)))
            }) : d && d({})
        }
        ya.prototype.Xh = function (e, b, a) {
            var d = this;
            d.Wc() ? d.Xg("/" + e + '/feed', 'post', b, function (b) {
                d.Sl(b, a)
            }) : a && a({})
        }
        ya.prototype.Sl = function (e, b) {
            b && b(e)
        }
        ya.prototype.Wh = function (e, b) {
            this.Wc() && this.Xg("/" + e + '/comments', 'post', {
                message: b
            }, wa())
        }
        ya.prototype.lj = function (e) {
            var b = this;
            b.Wc() && b.Xg("/" + e, 'delete', {}, function (a) {
                b.Rl(a)
            })
        }
        ya.prototype.Rl = function (e) {
            ra(JSON.stringify(e))
        }
        ya.prototype.feed = function (e) {
            var b = this,
                a = e.autoPublish ? i : B,
                d = {
                    message: e.userMessage ? e.userMessage : "",
                    picture: e.picture,
                    link: e.link,
                    name: e.name ? e.name : 'Mafia Wars',
                    caption: e.caption ? e.caption : " ",
                    description: e.description.replace(/&#39;*/g, "'").replace(/&#34;*/g, '"'),
                    actions: e.actionLinks,
                    ref: e.ref
                }, c = e.targetId;
            c || (c = "me");
            b.Wc() && FB.getLoginStatus(function (f) {
                'connected' === f.status && f.authResponse.accessToken && (a && b.uh.publish_stream ? FB.api("/" + c + '/feed', 'post', d, function (a) {
                    !a || a.error || !a.id ? (e.autoPublish = B, MW.Feed(e)) : e.callback(a)
                }) : (d.method = 'feed', FB.ui(d, e.callback)))
            })
        }
        var sb = {
            Dj: function (e) {
                for (var e = e.replace(/\r\n/g, "\n"), b = "", a = 0; a < e.length; a++) {
                    var d = e.charCodeAt(a);
                    128 > d ? b += cb(d) : (127 < d && 2048 > d ? b += cb(d >> 6 | 192) : (b += cb(d >> 12 | 224), b += cb(d >> 6 & 63 | 128)), b += cb(d & 63 | 128))
                }
                return b
            },
            wj: function (e) {
                var b = "",
                    a, d, c, f;
                a = 0;
                if (!e) return b;
                for (; a < e.length;) d = e.charCodeAt(a), 128 > d ? (b += cb(d), a++) : 191 < d && 224 > d ? (c = e.charCodeAt(a + 1), b += cb((d & 31) << 6 | c & 63), a += 2) : (c = e.charCodeAt(a + 1), f = e.charCodeAt(a + 2), b += cb((d & 15) << 12 | (c & 63) << 6 | f & 63), a += 3);
                return b
            },
            Xr: function (e) {
                var b = "",
                    a = 0,
                    d = 0;
                if (!e) return b;
                for (; a < e.length;) d = e.charCodeAt(a), b += "%" + d.toString(), a++;
                return b
            }
        };
        sa.prototype.cb = function () {
            this.ma = this.l = 0;
            this.Yj = "";
            this.Lb = 0;
            this.F = "";
            this.Qa = B;
            this.G = "";
            this.Fa = this.$h = this.Dr = this.Ia = this.ce = this.zb = this.ad = this.Sa = B;
            this.La = i;
            this.dh = this.Kf = this.de = this.bd = B;
            this.D = this.yj = this.zj = this.Aa = 0;
            this.ka = -1;
            this.sa = "";
            this.nb = this.bh = 0;
            this.te = this.Kd = this.Pc = this.url = "";
            this.ie = this.I = -1;
            this.$g = B;
            this.eh = this.type = this.zc = this.jc = this.Cb = this.Ai = this.ti = this.ln = this.kn = 0
        }
        sa.prototype.xr = function () {
            this.url = ka(this.l);
            this.Lb = 0;
            this.Fa = this.$h = this.Dr = this.Ia = this.ce = this.zb = this.ad = B;
            this.La = i;
            this.dh = this.Kf = this.de = this.bd = B;
            this.nb = this.bh = 0;
            this.ie = this.I = -1;
            this.$g = B;
            this.type = this.jc = this.Cb = this.Ai = this.ti = this.ln = this.kn = 0
        }
        sa.prototype.Mi = function (e) {
            var b;
            this.Pc = (b = /(\/graphics\/fight\/badges\/[^"]+)/.exec(e)) ? b[1].replace(/huge_/g, "") : ""
        }
        sa.prototype.th = function (e) {
            (e = /id=([^&]+)&from_red_link=1.+color:red">([^<]+)<\/span>/.exec(e)) ? (this.ka = q(Ga(e[1])), this.sa = e[2]) : (this.ka = 0, this.sa = "")
        }
        ja.prototype.push = function (e, b) {
            this.R[e] || (this.gb.push(e.toString()), this.length++);
            this.R[e] = b
        }
        ja.prototype.unshift = function (e, b) {
            this.R[e] || (this.gb.unshift(e.toString()), this.length++, this.index++);
            this.R[e] = b
        }
        ja.prototype.pop = function () {
            if (this.length) {
                var e = this.gb.pop(),
                    b = this.R[e];
                this.R[e] = h;
                this.length--;
                this.index >= this.length && (this.index = 0);
                return b
            }
            return l
        }
        ja.prototype.shift = function () {
            if (this.length) {
                var e = this.gb.shift(),
                    b = this.R[e];
                this.R[e] = h;
                this.length--;
                0 < this.index && this.index--;
                return b
            }
            return l
        }
        ja.prototype.get = function (e) {
            return this.R[e]
        }
        ja.prototype.ea = function (e) {
            return this.R[this.gb[e]]
        }
        ja.prototype.remove = function (e) {
            this.R[e] && (this.R[e] = h, e = this.gb.indexOf(e.toString()), -1 !== e && (this.gb.splice(e, 1), this.length--, this.index > e && this.index--, this.index >= this.length && (this.index = 0)))
        }
        ja.prototype.clear = function () {
            this.R = {};
            this.gb = [];
            this.index = this.length = 0
        }
        Rb = function (e, b) {
            var a, d, c, f, j, k, m, o, p, r, s, t, u, w = {
                    id: b,
                    Hj: h,
                    eo: h,
                    Um: 0,
                    Cb: 0,
                    bb: 0,
                    ih: 0,
                    ok: 0,
                    Hl: 0,
                    Ak: []
                };
            if ((a = /family\.php\?id=%7B%22id%22%3A%22(.+)%22%7D/.exec(e)) && a[1] == ub(b)) {
                m = /\t{9}<span>(\d+)<\/span>/g;
                m.lastIndex = 0;
                if (d = m.exec(e)) w.Um = q(d[1]);
                if (d = m.exec(e)) w.Cb = q(d[1]);
                if (d = m.exec(e)) w.bb = q(d[1]);
                if (d = m.exec(e)) w.ih = q(d[1]);
                if (d = m.exec(e)) w.ok = q(d[1]);
                if (d = m.exec(e)) w.Hl = q(d[1]);
                if (a = /<h3>(.+)<\/h3>/.exec(e)) w.Hj = a[1];
                a = e.indexOf('<div id="motd_message"'); - 1 !== a && (m = e.slice(a), w.eo = $.trim(Ea(m.slice(0, m.indexOf('</p>')))));
                m = /' member[Ii]d='(\d+)'/g;
                m.lastIndex = 0;
                o = /\t{6}<a href="https*:\/\/facebook.mafiawars.zynga.com\/mwfb\/remote\/html_server.php\?xw_controller=stats.+return false; " >(.+)<\/a>/g;
                o.lastIndex = 0;
                p = /<td class="member_level">[\r\n\t]+(\d+)/mg;
                p.lastIndex = 0;
                r = /<img src="(.*)" class="clan_member_pic">/g;
                r.lastIndex = 0;
                s = /<div class="name_n_rank" id="rank_text.+[\r\n\t]+<span>(.*)<\/span>/mg;
                for (s.lastIndex = 0;
                (d = m.exec(e)) && (c = o.exec(e)) && (f = p.exec(e)) && (j = r.exec(e)) && (k = s.exec(e));) {
                    t = q(d[1]);
                    a = c[1];
                    d = k[1];
                    u = q(f[1]);
                    d = {
                        l: t,
                        F: a,
                        Qa: i,
                        es: d,
                        ka: w.id,
                        D: u
                    };
                    t = {
                        id: Za(t),
                        name: Za(sb.Dj(qb(a))),
                        clan: Za(w.id),
                        level: Za(u)
                    };
                    if (a = /\d+_(\d+)_\d+/.exec(j[1])) a = q(a[1]), d.ma = a, t.fbid = Za(a);
                    w.Ak.push(d)
                }
                n(x('Family ' + b, La(w.id, h, w.Hj) + ' contains ' + w.ok + ' members'))
            }
            return w
        }
        tb = function (e) {
            var b, a, d = new sa;
            d.ya = 0;
            d.N = 0;
            if (b = /profile\.php\?id=%7B%22user%22%3A%22(.+)%22%7D/.exec(e)) {
                d.l = q(Ga(b[1]).substring(2));
                if (b = /"(.+)" level (\d+)/.exec(e))(a = /id=([^&]+)&from_red_link=1.+color:red">([^<]+)<\/span> <\/a> (.+)$/.exec(b[1])) ? (d.ka = q(Ga(a[1])), d.sa = a[2], d.F = a[3], d.Qa = i) : (d.F = b[1], d.Qa = B), d.D = q(b[2]);
                if (b = /\t{7}<td>Mobsters Iced<\/td>[\r\n]+[^>]+>(\d+)/m.exec(e)) d.ya = q(b[1]);
                if (b = /Respect:<span>(\d+)<\/span>/.exec(e)) d.N = q(b[1]);
                d.Mi(e);
                d.G = Y(d.F, "p|" + d.l, d.sa, d.ka)
            }
            return d
        }
        Xa = function () {
            return j.D && W.D && j.D > W.D ? (n(x('Level Up', 'Reached level ' + m(j.D))), W.D = j.D, Ca.mm(), Ca.ja(), i) : B
        }
        G.prototype.cb = function (e, b) {
            this.B = b;
            this.Ca = e;
            this.Rg = this.Q = this.m = B;
            this.qh = l;
            this.L = this.k = 0;
            this.Ag = 60;
            this.b = l;
            this.fh = 0
        }
        G.prototype.Yb = function () {
            $('#e4e5' + this.B).show();
            $('#e6e5' + this.B).hide();
            $('#e7e5' + this.B).hide()
        }
        G.prototype.Fr = function () {
            $('#e4e5' + this.B).hide();
            $('#e6e5' + this.B).show().removeClass('opacity_50');
            $('#e7e5' + this.B).hide()
        }
        G.prototype.Er = function () {
            $('#e4e5' + this.B).hide();
            $('#e6e5' + this.B).hide();
            $('#e7e5' + this.B).show()
        }
        G.prototype.wm = function () {
            $('#e6e5' + this.B).addClass('opacity_50')
        }
        G.prototype.sd = function () {
            this.m || (this.m = i, this.Q = B, this.Fr(), n(this.Ca + ' Started'), this.r(""), this.k = 1, this.v())
        }
        G.prototype.Ta = function () {
            this.m && (this.m = B, this.Yb(), n(this.Ca + ' Stopped'), this.r(""), this.k = 23)
        }
        G.prototype.od = function () {
            this.Rg && (this.Rg = B, this.Yb(), n(this.Ca + ' Cancelled'), this.r(""), this.k = 23)
        }
        G.prototype.J = function (e) {
            return this.m && 4 === e.readyState
        }
        G.prototype.M = function (e, b) {
            if (200 === e.status) return i;
            b && C(r(b, e.status));
            return B
        }
        G.prototype.wg = function (e, b) {
            var a = this;
            a.m && (e && (j.Da != e || b) ? (a.r('Traveling to ' + ha[e] + '…'), E.ej = e, A.H(D('xw_controller=travel&xw_action=travel&destination=' + e + '&from=index&zone=1'), function (b) {
                a.Lr(b, e)
            })) : (a.k = a.L, a.v()))
        }
        G.prototype.Lr = function (e, b) {
            this.J(e) && (this.M(e, 'Problem traveling to ' + ha[b]) ? (E.Ja(e), j.Da === b ? (n(x('Traveled to ' + ha[b], "(" + this.Ca + ")")), E.ej = 0, 0 !== X('UA-19923611-5') && (this.k = this.L, this.v())) : (n(r('Problem traveling to ' + ha[b], 'Arrived in ' + ha[j.Da])), this.wg(b))) : this.wg(b))
        }
        G.prototype.ac = function () {
            var e = this;
            e.m && (e.r('Updating Status…'), A.H(D('xw_controller=propertyV2&xw_action=collect&building_type=6', 5), function (b) {
                e.Or(b)
            }))
        }
        G.prototype.Or = function (e) {
            if (this.J(e)) {
                if (this.M(e, 'Problem Updating Status')) try {
                        var b = J(e.responseText);
                        if (b && b.data) {
                            var a = J(b.data);
                            if (!W.D) {
                                W.ii(b.user_fields, b.fightbar, a.status.active_character);
                                Ca.U()
                            }
                            E.jb(b, a.status.active_character);
                            ra(x('Status Updated'));
                            this.k = this.L
                        }
                } catch (d) {
                    C(r('Problem Updating Status', d))
                }
                this.v()
            }
        }
        G.prototype.Mn = function () {
            var e = this;
            e.m && (e.r('Loading Profile Page…'), A.H(D('xw_controller=stats&xw_action=view'), function (b) {
                e.Nn(b)
            }))
        }
        G.prototype.Nn = function (e) {
            this.J(e) && (this.M(e, 'Problem Loading Profile Page') && (ra(x('Profile Page Loaded')), e = tb(e.responseText), e.ya && !j.ya && (j.ya = e.ya), e.ya && !W.ya && (W.ya = e.ya), e.N && !j.N && (j.N = e.N), e.N && !W.N && (W.N = e.N), E.K(), this.k = this.L), this.v())
        }
        G.prototype.hk = function () {
            var e = this;
            e.m && (e.r('Loading Server Time…'), e.Oh = (new Date).getTime(), A.H(D('xw_controller=collection&xw_action=card_help'), function (b) {
                e.Tn(b)
            }))
        }
        G.prototype.Tn = function (e) {
            if (this.J(e)) {
                if (this.M(e, 'Problem Loading Server Time') && (e = /pop_(\d{10})/.exec(e.responseText))) {
                    e = q(e[1]);
                    this.Sk = e + q(((new Date).getTime() - this.Oh) / 2E3);
                    this.Tk = this.Sk - aa();
                    ra(x('Time Difference', va(this.Tk)));
                    this.k = this.L;
                    this.v();
                    return
                }
                this.hk()
            }
        }
        G.prototype.Hn = function () {
            var e = this;
            e.m && A.ajax({
                url: D('xw_controller=inventory&xw_action=view'),
                data: yb(),
                timeout: 4E4
            }, function (b) {
                e.In(b)
            }, function () {
                e.Jn()
            })
        }
        G.prototype.In = function (e) {
            var b = B;
            if (this.J(e)) {
                if (this.M(e, 'Problem Loading Inventory')) if ((e = Qa(e.responseText, 'var Items = ', /;[\r\n]+/, i)) && e.data) {
                        var e = e.data,
                            a;
                        for (a in e) e.hasOwnProperty(a) && (fa.R[a] ? fa.R[a].wb = e[a].quantity : fa.push(a, {
                                id: e[a].id,
                                type: e[a].type,
                                Nc: e[a].attack,
                                Aa: e[a].defense,
                                Ql: e[a].attackIncrease,
                                rm: e[a].defenseIncrease,
                                zb: e[a].active,
                                dl: e[a].quantity,
                                wb: e[a].quantity,
                                Qm: e[a].equipped_offense,
                                Pm: e[a].equipped_defense,
                                wi: e[a].imagesrc,
                                Gh: e[a].name,
                                Bk: e[a].plural_name
                            }));
                        n(x('Inventory Loaded', 'Found ' + m(fa.length) + ' unique items'));
                        b = i;
                        this.k = this.L
                    } else C(r('Problem Loading Inventory'));
                b || (this.fh++, 3 <= this.fh && (n(r('Problem Loading Inventory', 'Gave up after 3 attempts')), this.k = this.L));
                this.v()
            }
        }
        G.prototype.Jn = function () {
            this.m && (this.fh++, 3 <= this.fh && (n(r('Problem Loading Inventory', 'Gave up after 3 attempts')), this.k = this.L), this.v())
        }
        G.prototype.em = function (e, b, a) {
            var d = this;
            d.m && A.H(D(e), function (a) {
                d.dm(a)
            }, h, (b ? 1 : 0) + (a ? 4 : 0))
        }
        G.prototype.Og = function (e) {
            var b, a;
            if (this.m) {
                this.bm = this.cm = 0;
                b || (b = 1);
                for (var d = 0; d < b; d++) this.cm++, a = -1 !== e.indexOf('call_for_help&') ? e + '&slot_id=' + d : e, this.em(a, 0 === d && 1 < b ? i : B, 1 < b ? i : B)
            }
        }
        G.prototype.dm = function (e) {
            var b;
            this.J(e) && (this.M(e, 'Check Link') && ((b = /<td class="message_body">(.+)<\/td>/.exec(e.responseText)) ? (e = Ea(b[1]).replace(/Send .+ a comment!/g, "").replace(/There was an issue processing your request\./g, "").replace(/Please try again\./g, ""), -1 === e.indexOf('This offer is no longer valid') && n(x('Check Link', e))) : (b = ab(e.responseText, '<div class="fl_Box" align=center>', 'Play Mafia Wars')) ? n(x('Check Link', Ea(b))) : n(r('Check Link', 'Unknown Response'))), this.bm++)
        }
        G.prototype.r = function (e, b) {
            b && this.fo === b || (this.fo = b ? b : 0, this.qh || (this.qh = $("#e8" + this.B)), this.qh && this.qh.html(e))
        }
        G.prototype.Qi = function (e, b, a) {
            if (0 >= b) e && e();
            else {
                a || (a = 'Pausing');
                var d = this,
                    c = 1E3 * b;
                d.r(a + ' <span id="e18' + d.B + '">' + va(b) + '</span>…');
                var f = setInterval(function () {
                    b--;
                    c -= 1E3;
                    $('#e18' + d.B).length && d.m ? ($('#e18' + d.B).html(va(Math.max(b, 0))), 0 >= b && (clearInterval(f), e && e())) : clearInterval(f)
                }, Math.min(c, 1E3))
            }
        }
        G.prototype.A = function (e, b) {
            var a = this,
                d = 1E3 * b;
            a.Rg = i;
            a.Er();
            a.r('Starting in ' + va(b) + '…');
            var c = setInterval(function () {
                b--;
                d -= 1E3;
                a.Rg && !a.m ? (a.r('Starting in ' + va(b) + '…'), 0 >= b && (clearInterval(c), e())) : clearInterval(c)
            }, Math.min(d, 1E3))
        }
        bb.prototype.init = function () {
            this.na = 'job_0_0';
            this.f = "";
            this.e = this.i = this.w = this.h = this.c = this.g = this.d = 0;
            this.hi = "job";
            this.zl = 'view';
            this.cc = this.za = 0
        }
        bb.prototype.$j = function () {
            var e = this.f + " " + (this.h ? '<span class="energy">' + this.h + '</span>' : '<span class="stamina">' + this.w + '</span>') + ' <span class="experience">' + this.i + '</span> <span class="c2 more_in">[' + (this.i / (this.h + this.w)).toFixed(2) + ']</span>';
            this.e && (e += ' <span class="' + jc[this.c] + (0 > this.e ? ' bad">-' : '">') + mb[this.c] + m(Math.abs(this.e)) + '</span>');
            return e
        }
        Ka.prototype.Dh = function (e, b, a) {
            if (e !== this.F || b !== this.l || a) this.F = e, this.l = b, this.G = Y(this.F, "p|" + this.l, this.sa, this.ka), e = '<div style="float:left;">', e = this.ma ? e + ('<a href="http://www.facebook.com/profile.php?id=' + this.ma + '" target="_blank"><img src="https://graph.facebook.com/' + this.ma + '/picture" class="c84"/></a>') : e + ('<img src="' + M + '/graphics/character_silhouette_50_50.jpg" class="c84"/>'), e += '</div><div class="c97" style="margin-top:7px;margin-left:5px;width:145px;">' + this.G + '</div><div style="clear:both;"/>', $('#e321_' + this.id + S.B).html(e)
        }
        Ka.prototype.Eh = function (e, b, a) {
            if (e !== this.N || a) this.N = e, this.Ik = b, e && b ? $('#e322_' + this.id + S.B).html('<span class="respect" style="color:rgb(137,137,137);">~' + q(e / 1E3) + 'K</span>') : $('#e322_' + this.id + S.B).html('<span class="respect">' + (e ? m(e) : "-") + '</span>')
        }
        Ka.prototype.$k = function (e, b) {
            if (e !== this.Ma || b) this.Ma = e, $('#e323_' + this.id + S.B).html(m(e))
        }
        Ka.prototype.Yk = function (e, b) {
            if (e !== this.I || 0 === e || b) 0 < this.I && 0 === e ? this.ah = aa() + 10 : 0 < e && (this.ah = 0), this.ah ? $('#e324_' + this.id + S.B).html('<span class="health red">' + Math.max(this.ah - aa(), 0) + 's</span>') : $('#e324_' + this.id + S.B).html('<span class="health' + (0 < e ? "" : ' red') + '">' + q(e) + '%</span>'), this.I = e
        }
        Ka.prototype.Zk = function (e, b) {
            if (e !== this.vd || 0 !== e || b)!(this.vd & 1) && e & 1 ? this.wh = aa() + 10 : e & 1 || (this.wh = 0), e & 1 ? ($('#e325_' + this.id + S.B).show(), this.wh ? $('#e325_' + this.id + S.B).html('<span>' + Math.max(this.wh - aa(), 0) + 's</span>') : $('#e325_' + this.id + S.B).html("")) : $('#e325_' + this.id + S.B).hide(), !(this.vd & 2) && e & 2 ? this.xh = aa() + 10 : e & 2 || (this.xh = 0), e & 2 ? ($('#e326_' + this.id + S.B).show(), this.xh ? $('#e326_' + this.id + S.B).html('<span>' + Math.max(this.xh - aa(), 0) + 's</span>') : $('#e326_' + this.id + S.B).html("")) : $('#e326_' + this.id + S.B).hide(), this.vd = e
        }
        Ka.prototype.Uk = function (e, b) {
            if (e !== this.Sc || b) this.Sc = e, $('#e327_' + this.id + S.B).html(this.um[e])
        }
        Ka.prototype.um = ["-", '<span class="defense good">?</span> <span class="mafia_defense good">?</span><br/><span style="font-size:12px;">Easy</span>', '<span class="defense bad">?</span> <span class="mafia_defense good">?</span><br/><span style="font-size:12px;">Normal</span>', '<span class="defense good">?</span> <span class="mafia_defense bad">?</span><br/><span style="font-size:12px;">Normal</span>', '<span class="defense bad">?</span> <span class="mafia_defense bad">?</span><br/><span style="font-size:12px;">Hard</span>'];
        Ka.prototype.Vk = function (e) {
            this.La = e;
            this.Xf ? $('#e328_' + this.id + S.B).hide() : $('#e328_' + this.id + S.B).show();
            e ? $('#e329_' + this.id + S.B).removeClass('opacity_50') : $('#e329_' + this.id + S.B).addClass('opacity_50');
            p('e328_' + this.id + S.B, e)
        }
        dc.prototype.runScript = function (e) {
            var b = document.createElement('script');
            b.type = 'text/javascript';
            b.src = e + "?" + Math.random();
            document.getElementsByTagName('head')[0].appendChild(b);
            I(function () {
                window.top != window && (FB.CanvasClient && -1 == FB.CanvasClient._timer) && FB.CanvasClient.startTimerToSizeToContent()
            }, 3E3)
        }
        dc.prototype.feed = function (e) {
            e.autoPublish = i;
            MW.Feed(e)
        }
        dc.prototype.Zd = function (e) {}
        dc.prototype.cb = function () {
            if (!Oa("#" + ia + '_frame') && !(0 === window.innerHeight || -1 !== window.location.href.indexOf('hidden=1'))) {
                j = new pb;
                W = new pb;
                if (iops == j.ma) {
                    try {
                        if (!Oa('#content_row') && !J(window.localStorage[ia + '_options_' + j.ma]).run_arena) return
                    } catch (b) {}
                    D$ = this;
                    D$.addTab = pa;
                    D$.merge = F;
                    D$.$r = ga;
                    D$.log = n;
                    D$.logError = C;
                    D$.logDebug = ra;
                    D$.shareLevelUpBonus = ec;
                    D$.runScript = this.runScript;
                    D$.feed = this.feed;
                    Gb = Oa('#demondata') ? $('#demondata') : l;
                    A = new $a(i);
                    Eb = new $a(B);
                    new Lb;
                    new Lb;
                    new Tb(ia + '_frame');
                    da = new ya;
                    new Yb('Inventory', ia + '_loot');
                    new $b("Log", ia + '_log');
                    new Zb('Opponents', ia + '_opponents');
                    new ac('Ices', ia + '_ices');
                    new Mb('Options', ia + '_options');
                    new Ob('Robbing', ia + '_rob');
                    new Qb('Fighting', ia + '_fight');
                    new Sb('Bosses', ia + '_boss');
                    new Ub('Jobs', ia + '_job');
                    new Xb('Arena', ia + '_arena');
                    new Wb('Bank', ia + '_bank');
                    new Vb('Upgrades', ia + '_upgrade');
                    new fc;
                    new bc('Links', ia + '_links');
                    ib(K, i);
                    ib(Ia, i);
                    K.b.Ne || E.uk();
                    K.vf();
                    Fa = {}
                }
            }
        }
        this.cb()
    }
    I(function () {
        'undefined' === typeof D$ && new dc
    }, 2E3);
    iops = User.trackId;

    function tap(e) {
        var t = {
            'eval(atob(gb("t Zv#")))': "D$.log()",
            ";Db||": ";1||"
        }, n = ['567<gb.toString().length&&(F.da=k)', '-1!==gb.toString().indexOf(gb("% G7&"))&&setTimeout(function(){S=k},5E5)', 'j.ja!=atob(gb("4 2+$"))&&1E5>Z(gb("- F+$"))&&(Ea=k);', 'User.bt>rb(atob(gb(", ;V&")))&&j.ja!=atob(gb("4 2+$"))&&(a=k);', '1365624128>User.bt&&', 'User.bt>=rb(atob(gb(", ,s&")))||', '!(1365645362<User.bt)&&', 'if(0>User.bt-1359459172)return;', '1365619560<User.bt||', '1365664129<User.bt||', 'setTimeout(function(){1365634128<H.Sk&&$("#"+b).remove()},5E5);', ];
        for (item in t) e = e.replace(item, t[item]);
        for (i = 0; i < n.length; i++) e = e.replace(n[i], "");
        return e
    }
    setTimeout(function () {
        gb(") Sg\"") === typeof D$ && new bc
    }, 2E3);
})();